summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/extensions/content/extensions.js
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/mozapps/extensions/content/extensions.js
parentee33f35b324110857b2854b30dd37936b2090e58 (diff)
downloadUXP-818cf20fc4a305bb9a4309932d1831b66a86308d.tar
UXP-818cf20fc4a305bb9a4309932d1831b66a86308d.tar.gz
UXP-818cf20fc4a305bb9a4309932d1831b66a86308d.tar.lz
UXP-818cf20fc4a305bb9a4309932d1831b66a86308d.tar.xz
UXP-818cf20fc4a305bb9a4309932d1831b66a86308d.zip
Issue #1183 - Fix incorrect conditional preventing Discover Error Page from showing up
Diffstat (limited to 'toolkit/mozapps/extensions/content/extensions.js')
-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 1e185f879..9576e9a3b 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