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(' ');
if (autofilterPresent) {
$('#preview-search-autofilter').attr('checked', 'checked');
} else {
} else if (current_query.length > 0) {
$('#preview-search-autofilter').removeAttr('checked');
}
input_el.val(human_query);