Merge pull request #739 from nrich/patch-1

Do not call onReady if addon is installing
This commit is contained in:
Raymond Hill 2015-09-25 08:20:36 -04:00
commit 2189a675e7

View file

@ -86,7 +86,7 @@ function startup(data, reason) {
);
};
if ( reason !== APP_STARTUP ) {
if ( reason !== APP_STARTUP && reason !== ADDON_INSTALL) {
onReady();
return;
}