Fix shortcuts popup
This commit is contained in:
parent
5067e9dc88
commit
96448d1b7b
2 changed files with 5 additions and 5 deletions
|
@ -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", ->
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue