mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-13 21:34:54 +00:00
Fix #1503 (js error on login screen)
This commit is contained in:
parent
329a7a03a5
commit
a0b8cc21cc
@ -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)
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user