diff options
author | FranklinDM <mrmineshafter17@gmail.com> | 2019-07-15 13:51:33 +0800 |
---|---|---|
committer | FranklinDM <mrmineshafter17@gmail.com> | 2019-07-15 13:51:33 +0800 |
commit | 9b1a5984a82353d59aecf639f09030a2edd601bc (patch) | |
tree | 509e9da566c1ea6590c80984e38342a39bf8c104 /toolkit/mozapps | |
parent | f6c72328692f26761a78c01d157f3b79f215047e (diff) | |
download | uxp-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.js | 2 |
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 |