aboutsummaryrefslogtreecommitdiffhomepage
path: root/background.js
diff options
context:
space:
mode:
authorOfficial Noob <[email protected]>2019-08-08 16:45:23 +0100
committerGitHub <[email protected]>2019-08-08 16:45:23 +0100
commit4c12bb9c2f5863fbbbecdc988c072ed6e29e8900 (patch)
treee0543cacd95a8a4773f4cff66fb6d2dbb29073db /background.js
parent22e7c6a40d6af9a8523aabfa201380c65a8f1dc9 (diff)
downloadSponsorBlock-4c12bb9c2f5863fbbbecdc988c072ed6e29e8900.tar.gz
SponsorBlock-4c12bb9c2f5863fbbbecdc988c072ed6e29e8900.zip
camelCase
Diffstat (limited to 'background.js')
-rw-r--r--background.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/background.js b/background.js
index cc45246f..9640bec5 100644
--- a/background.js
+++ b/background.js
@@ -5,7 +5,7 @@ var userID = null;
chrome.tabs.onActivated.addListener(
function(activeInfo) {
chrome.tabs.get(activeInfo.tabId, function(tab) {
- TabUpdate(activeInfo.tabId);
+ tabUpdate(activeInfo.tabId);
})
}
);
@@ -15,7 +15,7 @@ chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) {
if (changeInfo != undefined) {
//if URL changed
if (tabId) {
- TabUpdate(tabId);
+ tabUpdate(tabId);
}
}
});
@@ -164,7 +164,7 @@ function submitTimes(videoID, callback) {
});
}
-function TabUpdate(tabId) {
+function tabUpdate(tabId) {
//send a message to the content script
chrome.tabs.sendMessage(tabId, {
message: 'update'