Permalink
Browse files

Merge pull request #46 from jpjoyal/master

Fix IE8 error when a notification with effect closes
  • Loading branch information...
2 parents becf5db + 475e147 commit a19a59de3ef886c2e4935ce0ddc04645f8eef5be @tj tj committed Jun 4, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/components/notification/notification.js
@@ -217,9 +217,9 @@ Notification.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();
}

0 comments on commit a19a59d

Please sign in to comment.