Fixed code problems

This commit is contained in:
OfficialNoob 2019-08-13 22:05:39 +01:00
parent e8246a9a8a
commit f350f18190
2 changed files with 2 additions and 3 deletions

View file

@ -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

View file

@ -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);
}
}
}
});