Fix shortcuts popup

This commit is contained in:
Dmitriy Zaporozhets 2013-07-05 15:19:31 +03:00
parent 5067e9dc88
commit 96448d1b7b
2 changed files with 5 additions and 5 deletions

View file

@ -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", ->

View file

@ -1,6 +1,6 @@
#modal-shortcuts.modal.hide
.modal-header
%a.close{href: "#"} ×
%a.close{href: "#", "data-dismiss" => "modal"} ×
%h3 Keyboard Shortcuts
.modal-body
%h5 Global Shortcuts