Skip to content

Commit

Permalink
Update v1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelodolza committed Sep 22, 2016
1 parent 92a6893 commit f83bb51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
4 changes: 2 additions & 2 deletions js/iziModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -957,8 +957,8 @@
}
});

var data = $(modalHash).data();
try {
var data = $(modalHash).data();
if(typeof data !== 'undefined'){
if(e.type === 'load'){
if(data.iziModal.options.autoOpen !== false){
Expand All @@ -971,7 +971,7 @@
}
}
} catch(log) {
console.error(log);
console.info(log);
}

} else {
Expand Down
Loading

0 comments on commit f83bb51

Please sign in to comment.