Changed clear search from CTRL+BACKSPACE to CTRL+SHIFT+BACKSPACE
This commit is contained in:
parent
760ce913b6
commit
fdd30396b7
File diff suppressed because one or more lines are too long
@ -34,7 +34,7 @@ export default {
|
||||
},
|
||||
mounted() {
|
||||
document.addEventListener('keyup', keyEvent => {
|
||||
if (!(keyEvent.key == 'Backspace' && keyEvent.ctrlKey)) return
|
||||
if (!(keyEvent.key == 'Backspace' && keyEvent.ctrlKey && keyEvent.shiftKey)) return
|
||||
|
||||
this.$refs.searchbar.value = ''
|
||||
this.$refs.searchbar.focus()
|
||||
|
Loading…
Reference in New Issue
Block a user