This commit is contained in:
Tom Moor
2022-01-08 16:19:57 -08:00
parent fc564cfc1a
commit 86e171442d

View File

@@ -55,9 +55,11 @@ class Layout extends React.Component<Props> {
keyboardShortcutsOpen = false;
goToSearch = (ev: KeyboardEvent) => {
if (!ev.metaKey && !ev.ctrlKey) {
ev.preventDefault();
ev.stopPropagation();
history.push(searchUrl());
}
};
goToNewDocument = () => {