Skip to content

Commit

Permalink
Remove notifications from DOM after closing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Greenfield committed Sep 19, 2011
1 parent 6fa3be7 commit 45bb45b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/jquery.notify.js
Expand Up @@ -118,6 +118,7 @@ $.extend($.ech.notify.instance.prototype, {
this.element.fadeTo(speed, 0).slideUp(speed, function(){
self._trigger("close");
self.isOpen = false;
self.element.remove();
$.ech.notify.openNotifications -= 1;
self.parent.element.dequeue('notify');
});
Expand Down

0 comments on commit 45bb45b

Please sign in to comment.