filter_searchDelay no longer ignored (broken in v2.9.0)

This commit is contained in:
Mottie 2013-04-26 14:34:08 -05:00
parent 7593fbc8ee
commit 68cc42ce0f

View File

@ -585,7 +585,7 @@ ts.addWidget({
// ignore arrow and meta keys; allow backspace
if (e.type === 'keyup' && ((e.which < 32 && e.which !== 8) || (e.which >= 37 && e.which <=40) || (e.which !== 13 && !wo.filter_liveSearch))) { return; }
// skip delay
if (typeof filter === 'undefined' || filter === false){
if (typeof filter !== 'undefined' || filter === false){
checkFilters();
} else {
// delay filtering