mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-22 07:07:30 +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,8 +1394,7 @@ nsContextMenu.prototype = {
|
||||||
|
|
||||||
isDisabledForEvents: function(aNode) {
|
isDisabledForEvents: function(aNode) {
|
||||||
let ownerDoc = aNode.ownerDocument;
|
let ownerDoc = aNode.ownerDocument;
|
||||||
return
|
return ownerDoc.defaultView &&
|
||||||
ownerDoc.defaultView &&
|
|
||||||
ownerDoc.defaultView
|
ownerDoc.defaultView
|
||||||
.QueryInterface(Components.interfaces.nsIInterfaceRequestor)
|
.QueryInterface(Components.interfaces.nsIInterfaceRequestor)
|
||||||
.getInterface(Components.interfaces.nsIDOMWindowUtils)
|
.getInterface(Components.interfaces.nsIDOMWindowUtils)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue