Skip to content

Commit e9250dc

Browse files
committed
Fix startup bug where filterList is read before being defined
1 parent 7808f7d commit e9250dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/background/background.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function init() {
8888
*/
8989
function manageRequest(request) {
9090
// Only run if filtering is enabled
91-
if(!backloader.enabled) return;
91+
if(!backloader.enabled || !filterList) return;
9292

9393
for(var r = 0; r < filterList.length; r++) {
9494
if(!filterList[r].isEnabled) continue;

0 commit comments

Comments
 (0)