Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Prakhar Agarwal
purr-data
Commits
a03759fc
Commit
a03759fc
authored
May 21, 2021
by
Prakhar Agarwal
🎯
Browse files
fixed shortcut
parent
8b912975
Pipeline
#3626
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
emscripten/project/purr-data/utils/actions.js
View file @
a03759fc
...
...
@@ -176,7 +176,7 @@ function add_shortcuts(cid){
document
.
onkeydown
=
function
(
e
){
// Check modifiers
var
shortcut
=
e
.
ctrlKey
?
"
Ctrl+
"
:
""
;
shortcut
=
e
.
metaKey
?
"
Cmd+
"
:
""
;
shortcut
+
=
e
.
metaKey
?
"
Cmd+
"
:
""
;
shortcut
+=
e
.
shiftKey
?
"
Shift+
"
:
""
;
shortcut
+=
e
.
altKey
?
"
Alt+
"
:
""
;
// Add key
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment