1
0
Fork 0
forked from OpenNeo/impress

default fits checkbox to on

This commit is contained in:
Emi Matchu 2014-04-05 20:02:24 -05:00
parent a8a02cca01
commit 4338ae8b15

View file

@ -1325,7 +1325,7 @@ View.Search = function (wardrobe) {
}).join(' '); }).join(' ');
if (autofilterPresent) { if (autofilterPresent) {
$('#preview-search-autofilter').attr('checked', 'checked'); $('#preview-search-autofilter').attr('checked', 'checked');
} else { } else if (current_query.length > 0) {
$('#preview-search-autofilter').removeAttr('checked'); $('#preview-search-autofilter').removeAttr('checked');
} }
input_el.val(human_query); input_el.val(human_query);