summaryrefslogtreecommitdiff
path: root/toolkit
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
commit818cf20fc4a305bb9a4309932d1831b66a86308d (patch)
tree509e9da566c1ea6590c80984e38342a39bf8c104 /toolkit
parentee33f35b324110857b2854b30dd37936b2090e58 (diff)
downloaduxp-818cf20fc4a305bb9a4309932d1831b66a86308d.tar.gz
Issue #1183 - Fix incorrect conditional preventing Discover Error Page from showing up
Diffstat (limited to 'toolkit')
-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