mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-05 13:45:46 +00:00
Bug 336219: fix exception thrown in the notification widget, patch by Dietrich Ayala <dietrich@mozilla.com>, r=enn
This commit is contained in:
parent
4a94571cee
commit
d5a098b86f
@ -206,7 +206,8 @@
|
||||
newitem = aNotification;
|
||||
}
|
||||
else {
|
||||
aNotification.parentNode.removeChild(aNotification);
|
||||
if (aNotification.parentNode)
|
||||
aNotification.parentNode.removeChild(aNotification);
|
||||
var notifications = self.allNotifications;
|
||||
var idx = notifications.length - 1;
|
||||
if (idx >= 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user