Commit 96448d1b authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix shortcuts popup

parent 5067e9dc
......@@ -67,10 +67,6 @@ $ ->
$('.appear-data').fadeIn()
e.preventDefault()
$('body').keydown (e) ->
if e.which is 191
new Shortcuts()
# Initialize chosen selects
$('select.chosen').chosen()
......@@ -114,6 +110,10 @@ $ ->
when 115
$("#search").focus()
e.preventDefault()
when 63
new Shortcuts()
e.preventDefault()
# Commit show suppressed diff
$(".supp_diff_link").bind "click", ->
......
#modal-shortcuts.modal.hide
.modal-header
%a.close{href: "#"} ×
%a.close{href: "#", "data-dismiss" => "modal"} ×
%h3 Keyboard Shortcuts
.modal-body
%h5 Global Shortcuts
......
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