Commit 8b912975 authored by Prakhar Agarwal's avatar Prakhar Agarwal 🎯
Browse files

Added cmd modifier

parent 7c4d2a36
......@@ -176,6 +176,7 @@ function add_shortcuts(cid){
document.onkeydown = function (e){
// Check modifiers
var shortcut = e.ctrlKey ? "Ctrl+": "";
shortcut = e.metaKey ? "Cmd+": "";
shortcut += e.shiftKey ? "Shift+": "";
shortcut += e.altKey ? "Alt+": "";
// Add key
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment