gitlab-org--gitlab-foss/app/assets/javascripts/shortcuts.js.coffee
2013-06-30 22:10:52 +03:00

11 lines
230 B
CoffeeScript

class Shortcuts
constructor: ->
if $('#modal-shortcuts').length > 0
$('#modal-shortcuts').modal('show')
else
$.ajax(
url: '/help/shortcuts',
dataType: "script"
)
@Shortcuts = Shortcuts