mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-10 13:37:04 +03:00
Fixed code problems
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user