code cosmetics: missed a debounce() case
This commit is contained in:
parent
358e8e034f
commit
65d625fddf
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user