зеркало из https://github.com/mozilla/gecko-dev.git
Bug 330216: Fixes JavaScript warning when checking id of nodes with no id, patch by Phil Ringalda <philringnalda@gmail.com> r=annie.sullivan@gmail.com sr=ben@mozilla.org
This commit is contained in:
Родитель
6440bff753
Коммит
19c5b5e582
|
@ -154,7 +154,7 @@
|
|||
var needsBindingAttachment = false;
|
||||
var currentNode = this.parentNode;
|
||||
while (currentNode && !needsBindingAttachment) {
|
||||
if (currentNode.id == "bookmarksMenu")
|
||||
if (currentNode.id && currentNode.id == "bookmarksMenu")
|
||||
needsBindingAttachment = true;
|
||||
currentNode = currentNode.parentNode;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче