Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #46 from jpjoyal/master

Fix IE8 error when a notification with effect closes
  • Loading branch information...
commit a19a59de3ef886c2e4935ce0ddc04645f8eef5be 2 parents becf5db + 475e147
@tj authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/components/notification/notification.js
View
4 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();
}
Please sign in to comment.
Something went wrong with that request. Please try again.