From 2054a1205e287c4bca3ba7af7d343a94c8df51f4 Mon Sep 17 00:00:00 2001 From: JustOff Date: Sat, 14 Apr 2018 19:53:25 +0300 Subject: Suppress false-positive warning about unreachable code after return in nsContextMenu.js --- application/palemoon/base/content/nsContextMenu.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'application/palemoon/base/content/nsContextMenu.js') 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); -- cgit v1.2.3