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

Fix shortcuts popup

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