Skip to content
This repository has been archived by the owner on Sep 12, 2019. It is now read-only.

Commit

Permalink
Use pageshow event instead of load.
Browse files Browse the repository at this point in the history
  • Loading branch information
chengsun committed Mar 17, 2012
1 parent 90d07f5 commit dc8421d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chrome/content/indicator.js
Expand Up @@ -30,7 +30,7 @@ var SPDYObserver = {
observerService.addObserver(SPDYObserver, "http-on-examine-cached-response", false);

window.addEventListener("load", function () {
gBrowser.addEventListener("load", SPDYObserver.update, true);
gBrowser.addEventListener("pageshow", SPDYObserver.update, true);
gBrowser.addEventListener("select", SPDYObserver.update, false);
}, false);
},
Expand Down

0 comments on commit dc8421d

Please sign in to comment.