Skip to content

Commit

Permalink
fix isClosed
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelodolza authored Dec 1, 2016
1 parent f5c8c0a commit 3c4986f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/js/iziToast.js
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@
iziToast.hide = function (options, $toast, closedByButton) {

var settings = extend(defaults, options || {});
var closedByButton = closed || false;
var isClosed = closedByButton || false;

if(typeof $toast != 'object'){
$toast = document.querySelector($toast);
Expand Down

0 comments on commit 3c4986f

Please sign in to comment.