Skip to content

Commit

Permalink
Merge pull request visionmedia#47 from jpjoyal/master
Browse files Browse the repository at this point in the history
Fix IE8 error when a Dialog with effect closes
  • Loading branch information
tj committed Jun 4, 2012
2 parents a19a59d + 3e01c18 commit c1737db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/components/dialog/dialog.js
Expand Up @@ -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();
}
Expand Down

0 comments on commit c1737db

Please sign in to comment.