code cosmetics: missed a debounce() case

This commit is contained in:
tophf 2017-06-27 15:17:52 +03:00
parent 358e8e034f
commit 65d625fddf

View File

@ -709,8 +709,7 @@ function searchStyles({immediately, container}) {
return; return;
} }
if (!immediately) { if (!immediately) {
clearTimeout(searchStyles.timeout); debounce(searchStyles, 150, {immediately: true});
searchStyles.timeout = setTimeout(searchStyles, 150, {immediately: true});
return; return;
} }
searchElement.lastValue = query; searchElement.lastValue = query;