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;
}
if (!immediately) {
clearTimeout(searchStyles.timeout);
searchStyles.timeout = setTimeout(searchStyles, 150, {immediately: true});
debounce(searchStyles, 150, {immediately: true});
return;
}
searchElement.lastValue = query;