1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-10-13 20:44:23 +02:00

final slash

This commit is contained in:
Kushagra Gour
2017-01-01 17:47:38 +05:30
parent a00bd0cc3e
commit 88431d05c1
3 changed files with 9 additions and 4 deletions

View File

@@ -32,4 +32,9 @@ chrome.runtime.onInstalled.addListener(function callback (details) {
if (details.reason === 'install') {
openApp();
}
if (details.reason === 'update') {
if ((details.previousVersion + '').indexOf('1.') === 0) {
openApp();
}
}
});