From fef748d128c663bd9c0b90f2c6e9af2ddc6eec6d Mon Sep 17 00:00:00 2001 From: tophf Date: Fri, 18 Aug 2017 14:32:20 +0300 Subject: [PATCH] wait for bg to load before enabling filters --- manage/filters.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manage/filters.js b/manage/filters.js index 1bb4912f..798b1ee8 100644 --- a/manage/filters.js +++ b/manage/filters.js @@ -9,7 +9,7 @@ const filtersSelector = { }; -onDOMready().then(() => { +onDOMready().then(onBackgroundReady).then(() => { $('#search').oninput = searchStyles; $$('[data-filter]').forEach(el => {