1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-28 04:19:59 +00:00

activate search focus if search in progress

This commit is contained in:
celogeek 2020-05-21 16:42:02 +02:00
parent 4332f7a640
commit 051ffdda35
No known key found for this signature in database
GPG Key ID: E6B7BDCFC446233A

View File

@ -227,7 +227,9 @@
$(document).ready(function() {
var inp = $('#query').first()
var val = inp.val()
if (val.length) {
inp.val('').blur().focus().val(val)
}
});
});
</script>