diff options
author | Raymond Hill <gorhill@users.noreply.github.com> | 2015-09-25 08:20:36 -0400 |
---|---|---|
committer | Raymond Hill <gorhill@users.noreply.github.com> | 2015-09-25 08:20:36 -0400 |
commit | 2189a675e735a31330d358be1ede3f50b76989ea (patch) | |
tree | 3fb26a3d3c5b51e17494384526b7b72c44d9557c | |
parent | e858c912243d3f8ce01d5b88d3a9d589886e74cc (diff) | |
parent | 93fb1dd251f4fdfb6b5c265074952f5d1ee52e97 (diff) | |
download | uBlock-2189a675e735a31330d358be1ede3f50b76989ea.zip uBlock-2189a675e735a31330d358be1ede3f50b76989ea.tar.gz uBlock-2189a675e735a31330d358be1ede3f50b76989ea.tar.bz2 |
Merge pull request #739 from nrich/patch-1
Do not call onReady if addon is installing
-rw-r--r-- | platform/firefox/bootstrap.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/firefox/bootstrap.js b/platform/firefox/bootstrap.js index d1adfc4..d8046b8 100644 --- a/platform/firefox/bootstrap.js +++ b/platform/firefox/bootstrap.js @@ -86,7 +86,7 @@ function startup(data, reason) { ); }; - if ( reason !== APP_STARTUP ) { + if ( reason !== APP_STARTUP && reason !== ADDON_INSTALL) { onReady(); return; } |