mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
bug 821170 - (part 2) fix external API for PopupNotifications r=gavin
This commit is contained in:
parent
dc502af4df
commit
570a2b6745
@ -71,7 +71,7 @@ Notification.prototype = {
|
||||
},
|
||||
|
||||
reshow: function() {
|
||||
this.owner.reshow(this.anchorElement);
|
||||
this.owner._reshowNotificationForAnchor(this.anchorElement);
|
||||
}
|
||||
};
|
||||
|
||||
@ -629,10 +629,10 @@ PopupNotifications.prototype = {
|
||||
while (anchor && anchor.parentNode != this.iconBox)
|
||||
anchor = anchor.parentNode;
|
||||
|
||||
this.reshow(anchor);
|
||||
this._reshowNotificationForAnchor(anchor);
|
||||
},
|
||||
|
||||
reshow: function PopupNotifications_reshow(anchor) {
|
||||
_reshowNotificationForAnchor: function PopupNotifications_reshowNotificationForAnchor(anchor) {
|
||||
// Mark notifications anchored to this anchor as un-dismissed
|
||||
this._currentNotifications.forEach(function (n) {
|
||||
if (n.anchorElement == anchor)
|
||||
|
Loading…
Reference in New Issue
Block a user