Skip to content

Commit f3a8943

Browse files
authored
Update background.js
1 parent d56c457 commit f3a8943

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

background.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ restore();
7070
chrome.storage.onChanged.addListener((result) => {
7171
if (typeof result.options === 'object' && result.options !== null)
7272
options = result.options.newValue;
73-
if (typeof result.exclude === 'object' && result.exclude !== null) {
73+
if (typeof result.exclude === 'object' && result.exclude !== null && Array.isArray(result.exclude.newValue)) {
7474
exclude = result.exclude.newValue;
7575
updateContentScripts();
7676
}

0 commit comments

Comments
 (0)