mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-11 09:30:46 +01:00
Fixed code problems
This commit is contained in:
parent
e8246a9a8a
commit
f350f18190
2 changed files with 2 additions and 3 deletions
|
@ -56,7 +56,7 @@ chrome.runtime.onInstalled.addListener(function (object) {
|
||||||
if (!shownInstallPage){
|
if (!shownInstallPage){
|
||||||
//open up the install page
|
//open up the install page
|
||||||
|
|
||||||
chrome.tabs.create({url: chrome.extension.getURL("/help/"+chrome.i18n.getMessage("helpPage")});
|
chrome.tabs.create({url: chrome.extension.getURL("/help/"+chrome.i18n.getMessage("helpPage"))});
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO (shownInstallPage): delete if statement and contents
|
// TODO (shownInstallPage): delete if statement and contents
|
||||||
|
|
|
@ -990,9 +990,8 @@ function vote(type, UUID) {
|
||||||
addLoadingInfo(chrome.i18n.getMessage("serverDown"), UUID)
|
addLoadingInfo(chrome.i18n.getMessage("serverDown"), UUID)
|
||||||
} else {
|
} else {
|
||||||
//failure: unknown error
|
//failure: unknown error
|
||||||
addLoadingInfo((chrome.i18n.getMessage("connectionError") + response.statusCode, UUID)
|
addLoadingInfo(chrome.i18n.getMessage("connectionError") + response.statusCode, UUID);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue