Merge pull request #38 from SethBurkart123/sweep/fix-inconsistent-naming

[Sweep Rules] Fix inconsistent naming convention in background.js
This commit is contained in:
Seth Burkart
2023-11-16 06:34:35 +11:00
committed by GitHub
+2 -2
View File
@@ -55,7 +55,7 @@ export const readData = () => {
}); });
}; };
function ReloadSEQTAPages() { function reloadSeqtaPages() {
chrome.tabs.query({}, function (tabs) { chrome.tabs.query({}, function (tabs) {
for (let tab of tabs) { for (let tab of tabs) {
if (tab.title.includes('SEQTA Learn')) { if (tab.title.includes('SEQTA Learn')) {
@@ -93,7 +93,7 @@ const handleAddPermissions = () => {
chrome.runtime.onMessage.addListener((request, sender, sendResponse) => { chrome.runtime.onMessage.addListener((request, sender, sendResponse) => {
switch (request.type) { switch (request.type) {
case 'reloadTabs': case 'reloadTabs':
ReloadSEQTAPages(); reloadSeqtaPages();
break; break;
case 'currentTab': case 'currentTab':