mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-19 14:40:30 +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() {
|
$(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…
Reference in New Issue
Block a user