CTRL + F will now focus and select the search box
This commit is contained in:
parent
570afdb2a4
commit
3ecf4ff3a0
2 changed files with 10 additions and 0 deletions
|
@ -1817,6 +1817,15 @@ const app = new Vue({
|
|||
}
|
||||
}
|
||||
})
|
||||
|
||||
// Key binds
|
||||
document.addEventListener('keydown', function (e) {
|
||||
if (e.keyCode === 70 && e.ctrlKey) {
|
||||
app.$refs.searchInput.focus()
|
||||
app.$refs.searchInput.select()
|
||||
}
|
||||
});
|
||||
|
||||
// Hang Timer
|
||||
app.hangtimer = setTimeout(()=>{
|
||||
if(confirm("Cider is not responding. Reload the app?")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue