mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
parent
8375d341ea
commit
d42af4affc
@ -29,17 +29,16 @@ export class Shortcuts extends Component {
|
||||
return;
|
||||
}
|
||||
|
||||
this.handleShortcutPress(event);
|
||||
});
|
||||
|
||||
window.addEventListener('keydown', event => {
|
||||
if (event.key === '?') {
|
||||
if (this.hintsShowing) {
|
||||
this.hideHints();
|
||||
} else {
|
||||
this.showHints();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
this.handleShortcutPress(event);
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user