Skip to content
Snippets Groups Projects
Commit 2fe0577c authored by Emmanuel Salomon's avatar Emmanuel Salomon :fist:
Browse files

fix: :ambulance: cmd + K for mac

parent 0fef5859
No related branches found
No related tags found
No related merge requests found
......@@ -64,8 +64,7 @@ export default {
}
},
searchShortcut(e) {
if (e.key === 'k' && e.ctrlKey) {
// (e.ctrlKey || e.metaKey)) {
if (e.key === 'k' && (e.ctrlKey || e.metaKey)) {
e.preventDefault() // present "Save Page" from getting triggered.
this.isVisible = !this.isVisible
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment