Merge remote-tracking branch 'search_focus/activate-search-focus-if-search-in-progress'

This commit is contained in:
Ozzieisaacs 2020-05-21 19:18:02 +02:00
commit cc856c7cd1

View File

@ -227,7 +227,9 @@
$(document).ready(function() {
var inp = $('#query').first()
var val = inp.val()
inp.val('').blur().focus().val(val)
if (val.length) {
inp.val('').blur().focus().val(val)
}
});
});
</script>