Fix #1503 (js error on login screen)

pull/1508/head
Ozzieisaacs 5 years ago
parent 329a7a03a5
commit a0b8cc21cc

@ -228,7 +228,7 @@
$(document).ready(function() { $(document).ready(function() {
var inp = $('#query').first() var inp = $('#query').first()
var val = inp.val() var val = inp.val()
if (val.length) { if (val !== "undefined") {
inp.val('').blur().focus().val(val) inp.val('').blur().focus().val(val)
} }
}); });

Loading…
Cancel
Save