1.1.17
This commit is contained in:
@ -478,7 +478,7 @@ export default {
|
||||
|
||||
// /search
|
||||
document.addEventListener('keypress', (e) => {
|
||||
if (e.keyCode != 47) return;
|
||||
if (e.key != '/' || e.target.nodeName == "INPUT") return;
|
||||
this.$refs.searchBar.focus();
|
||||
setTimeout(() => {
|
||||
if (this.searchQuery.startsWith('/')) this.searchQuery = this.searchQuery.substring(1);
|
||||
|
Reference in New Issue
Block a user