From 818cf20fc4a305bb9a4309932d1831b66a86308d Mon Sep 17 00:00:00 2001 From: FranklinDM Date: Mon, 15 Jul 2019 13:51:33 +0800 Subject: Issue #1183 - Fix incorrect conditional preventing Discover Error Page from showing up --- toolkit/mozapps/extensions/content/extensions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolkit') 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 -- cgit v1.2.3