Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #47 from jpjoyal/master

Fix IE8 error when a Dialog with effect closes
  • Loading branch information...
commit c1737db0ef224aa22977ec2afe89975fc1e1da92 2 parents a19a59d + 3e01c18
@tj authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/components/dialog/dialog.js
View
4 lib/components/dialog/dialog.js
@@ -225,9 +225,9 @@ Dialog.prototype.hide = function(ms){
// hide / remove
this.el.addClass('hide');
if (this._effect) {
- setTimeout(function(self){
+ setTimeout(function(){
self.remove();
- }, 500, this);
+ }, 500);
} else {
self.remove();
}
Please sign in to comment.
Something went wrong with that request. Please try again.