Fix #1503 (js error on login screen)

This commit is contained in:
Ozzieisaacs 2020-06-23 15:07:14 +02:00
parent 329a7a03a5
commit a0b8cc21cc

View File

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