summaryrefslogtreecommitdiff
path: root/toolkit/mozapps
diff options
context:
space:
mode:
authorFranklinDM <mrmineshafter17@gmail.com>2019-07-15 13:51:33 +0800
committerFranklinDM <mrmineshafter17@gmail.com>2019-07-15 13:51:33 +0800
commit9b1a5984a82353d59aecf639f09030a2edd601bc (patch)
tree509e9da566c1ea6590c80984e38342a39bf8c104 /toolkit/mozapps
parentf6c72328692f26761a78c01d157f3b79f215047e (diff)
downloaduxp-9b1a5984a82353d59aecf639f09030a2edd601bc.tar.gz
Issue mcp-graveyard/UXP#1183 - Fix incorrect conditional preventing Discover Error Page from showing up
Diffstat (limited to 'toolkit/mozapps')
-rw-r--r--toolkit/mozapps/extensions/content/extensions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/mozapps/extensions/content/extensions.js b/toolkit/mozapps/extensions/content/extensions.js
index 1e185f8796..9576e9a3b4 100644
--- a/toolkit/mozapps/extensions/content/extensions.js
+++ b/toolkit/mozapps/extensions/content/extensions.js
@@ -2153,7 +2153,7 @@ var gDiscoverView = {
Ci.nsIWebProgressListener.STATE_IS_REQUEST |
Ci.nsIWebProgressListener.STATE_TRANSFERRING;
// Once transferring begins show the content
- if (aStateFlags & transferStart)
+ if ((aStateFlags & transferStart) === transferStart)
this.node.selectedPanel = this._browser;
// Only care about the network events