提交 96448d1b 编写于 作者: D Dmitriy Zaporozhets

Fix shortcuts popup

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册