it's NOTIFY_STATE_DOCUMENT not STATE_DOCUMENT, seems it was wrong this whole time
This commit is contained in:
Родитель
1098b6f3d4
Коммит
b3802045ec
|
@ -708,7 +708,7 @@ var FFSHARE_EXT_ID = "ffshare@mozilla.org";
|
|||
Application.prefs.setValue("extensions." + FFSHARE_EXT_ID + ".first-install", false);
|
||||
|
||||
//Register first run listener.
|
||||
gBrowser.getBrowserForTab(gBrowser.selectedTab).addProgressListener(firstRunProgressListener, Components.interfaces.nsIWebProgress.STATE_DOCUMENT);
|
||||
gBrowser.getBrowserForTab(gBrowser.selectedTab).addProgressListener(firstRunProgressListener, Components.interfaces.nsIWebProgress.NOTIFY_STATE_DOCUMENT);
|
||||
this.addedFirstRunProgressListener = true;
|
||||
}
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче