1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-12-18 14:10:30 +00:00

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)
}
});