summaryrefslogtreecommitdiff
path: root/application/palemoon/base
diff options
context:
space:
mode:
authorJustOff <Off.Just.Off@gmail.com>2018-04-14 19:53:25 +0300
committerJustOff <Off.Just.Off@gmail.com>2018-04-14 19:53:25 +0300
commit2054a1205e287c4bca3ba7af7d343a94c8df51f4 (patch)
tree98f09e5ed7de3fe97cdf1be093b2bc2d9aa667b5 /application/palemoon/base
parent64204fdb8302c8bf483d724430dd83f43c1cb6ff (diff)
downloaduxp-2054a1205e287c4bca3ba7af7d343a94c8df51f4.tar.gz
Suppress false-positive warning about unreachable code after return in nsContextMenu.js
Diffstat (limited to 'application/palemoon/base')
-rw-r--r--application/palemoon/base/content/nsContextMenu.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/application/palemoon/base/content/nsContextMenu.js b/application/palemoon/base/content/nsContextMenu.js
index 017ab87cc3..1fe592b52a 100644
--- a/application/palemoon/base/content/nsContextMenu.js
+++ b/application/palemoon/base/content/nsContextMenu.js
@@ -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);