mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-02 03:49:37 +00:00
Bug 333262,In <inspector.xml>, strict warning 'reference to undefined property event.originalTarget.nodeType', r=sdwilsh, sr=neil, a=dsicore
This commit is contained in:
parent
ef8619aeb6
commit
f1410f1fe6
@ -452,7 +452,7 @@
|
||||
<handlers>
|
||||
<handler event="focus" phase="capturing">
|
||||
<![CDATA[
|
||||
if (!event.originalTarget || event.originalTarget.nodeType != Node.ELEMENT_NODE)
|
||||
if (!(event.originalTarget instanceof Element))
|
||||
return;
|
||||
|
||||
var targetDoc = event.originalTarget.ownerDocument;
|
||||
|
Loading…
x
Reference in New Issue
Block a user