Fix incorrect conditional preventing Discover Error Page from showing up.

master
Fedor 2019-09-05 20:03:59 +03:00
parent f00dae7823
commit 351ddcc8da
1 changed files with 1 additions and 1 deletions

View File

@ -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