mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 14:58:37 +09:00
Suppress false-positive warning about unreachable code after return in nsContextMenu.js
This commit is contained in:
parent
3bbdbbbe4a
commit
fa15a8282e
1 changed files with 2 additions and 3 deletions
|
|
@ -1394,9 +1394,8 @@ nsContextMenu.prototype = {
|
|||
|
||||
isDisabledForEvents: function(aNode) {
|
||||
let ownerDoc = aNode.ownerDocument;
|
||||
return
|
||||
ownerDoc.defaultView &&
|
||||
ownerDoc.defaultView
|
||||
return ownerDoc.defaultView &&
|
||||
ownerDoc.defaultView
|
||||
.QueryInterface(Components.interfaces.nsIInterfaceRequestor)
|
||||
.getInterface(Components.interfaces.nsIDOMWindowUtils)
|
||||
.isNodeDisabledForEvents(aNode);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue