Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rocket.Chat
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RocketChat
Rocket.Chat
Commits
ab788d5f
Commit
ab788d5f
authored
8 years ago
by
Gabriel Engel
Browse files
Options
Downloads
Plain Diff
Merge pull request #2798 from RocketChat/hotfix/spotlight-hotkey
RocketChat hijacking Firefox shortcut
parents
217260db
6915fbac
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/rocketchat-ui-master/master/main.coffee
+1
-1
1 addition, 1 deletion
packages/rocketchat-ui-master/master/main.coffee
with
1 addition
and
1 deletion
packages/rocketchat-ui-master/master/main.coffee
+
1
−
1
View file @
ab788d5f
...
@@ -2,7 +2,7 @@ Template.body.onRendered ->
...
@@ -2,7 +2,7 @@ Template.body.onRendered ->
new
Clipboard
(
'.clipboard'
)
new
Clipboard
(
'.clipboard'
)
$
(
document
.
body
).
on
'keydown'
,
(
e
)
->
$
(
document
.
body
).
on
'keydown'
,
(
e
)
->
if
e
.
keyCode
is
80
and
(
e
.
ctrlKey
is
true
or
e
.
metaKey
is
true
)
if
e
.
keyCode
is
80
and
(
e
.
ctrlKey
is
true
or
e
.
metaKey
is
true
)
and
e
.
shiftKey
is
false
e
.
preventDefault
()
e
.
preventDefault
()
e
.
stopPropagation
()
e
.
stopPropagation
()
spotlight
.
show
()
spotlight
.
show
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment