wait for bg to load before enabling filters

This commit is contained in:
tophf 2017-08-18 14:32:20 +03:00
parent 815f8ca959
commit fef748d128

View File

@ -9,7 +9,7 @@ const filtersSelector = {
}; };
onDOMready().then(() => { onDOMready().then(onBackgroundReady).then(() => {
$('#search').oninput = searchStyles; $('#search').oninput = searchStyles;
$$('[data-filter]').forEach(el => { $$('[data-filter]').forEach(el => {