Commit a0b8cc21 authored by Ozzieisaacs's avatar Ozzieisaacs

Fix #1503 (js error on login screen)

parent 329a7a03
...@@ -228,7 +228,7 @@ ...@@ -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)
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment