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

Fix shortcuts popup

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