mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-09-22 05:37:56 +02: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){
|
||||
//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
|
||||
|
|
|
@ -990,9 +990,8 @@ function vote(type, UUID) {
|
|||
addLoadingInfo(chrome.i18n.getMessage("serverDown"), UUID)
|
||||
} else {
|
||||
//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