BigW Consortium Gitlab

shortcuts.js.coffee 230 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
class Shortcuts
  constructor: ->
    if $('#modal-shortcuts').length > 0
      $('#modal-shortcuts').modal('show')
    else
      $.ajax(
        url: '/help/shortcuts',
        dataType: "script"
      )

@Shortcuts = Shortcuts