mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-25 01:20:32 +00:00
activate search focus if search in progress
This commit is contained in:
parent
4332f7a640
commit
051ffdda35
@ -227,7 +227,9 @@
|
||||
$(document).ready(function() {
|
||||
var inp = $('#query').first()
|
||||
var val = inp.val()
|
||||
inp.val('').blur().focus().val(val)
|
||||
if (val.length) {
|
||||
inp.val('').blur().focus().val(val)
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user