mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 1326210 - Noticed in Bug 1265881 Error: TypeError: temp is null Source File: chrome://global/content/bindings/preferences.xml Line: 1227 r=Mossop
This commit is contained in:
parent
8684b280b7
commit
2038d42f75
@ -1256,7 +1256,8 @@
|
||||
while (temp && temp.nodeType == Node.ELEMENT_NODE &&
|
||||
!temp.hasAttribute("preference"))
|
||||
temp = temp.parentNode;
|
||||
return temp.nodeType == Node.ELEMENT_NODE ? temp : aStartElement;
|
||||
return temp && temp.nodeType == Node.ELEMENT_NODE ?
|
||||
temp : aStartElement;
|
||||
]]>
|
||||
</body>
|
||||
</method>
|
||||
|
Loading…
Reference in New Issue
Block a user