mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
Merge pull request #38 from SethBurkart123/sweep/fix-inconsistent-naming
[Sweep Rules] Fix inconsistent naming convention in background.js
This commit is contained in:
+2
-2
@@ -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':
|
||||||
|
|||||||
Reference in New Issue
Block a user