Skip to content
Snippets Groups Projects
Commit dc335833 authored by Aaron Ogle's avatar Aaron Ogle
Browse files

Change from just ctrl to ctrl or meta + p

parent a9cf8c86
No related branches found
No related tags found
No related merge requests found
Template.body.onRendered ->
$(document.body).on 'keydown', (e) ->
if e.keyCode is 80 and e.ctrlKey is true
if e.keyCode is 80 and (e.ctrlKey is true or e.metaKey is true)
e.preventDefault()
e.stopPropagation()
spotlight.show()
......
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