summaryrefslogtreecommitdiffstats
path: root/application/palemoon
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
parent64204fdb8302c8bf483d724430dd83f43c1cb6ff (diff)
downloadUXP-2054a1205e287c4bca3ba7af7d343a94c8df51f4.tar
UXP-2054a1205e287c4bca3ba7af7d343a94c8df51f4.tar.gz
UXP-2054a1205e287c4bca3ba7af7d343a94c8df51f4.tar.lz
UXP-2054a1205e287c4bca3ba7af7d343a94c8df51f4.tar.xz
UXP-2054a1205e287c4bca3ba7af7d343a94c8df51f4.zip
Suppress false-positive warning about unreachable code after return in nsContextMenu.js
Diffstat (limited to 'application/palemoon')
-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 017ab87cc..1fe592b52 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);