aboutsummaryrefslogtreecommitdiff
path: root/background/page_actions_server.js
diff options
context:
space:
mode:
Diffstat (limited to 'background/page_actions_server.js')
-rw-r--r--background/page_actions_server.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/background/page_actions_server.js b/background/page_actions_server.js
index 2a0b858..2dfcf9a 100644
--- a/background/page_actions_server.js
+++ b/background/page_actions_server.js
@@ -31,7 +31,8 @@
let components = settings.components;
let processed_bags = new Set();
- send_scripts_rec(components, port, processed_bags);
+ if (components !== undefined)
+ send_scripts_rec([components], port, processed_bags);
}
// TODO: parallelize script fetching