overleaf/services/web/public/coffee/help/HelpManager.coffee

14 lines
261 B
CoffeeScript
Raw Normal View History

2014-02-12 05:23:40 -05:00
define [], () ->
class HelpManager
template: $("#helpLinkTemplate").html()
constructor: (@ide) ->
@$el = $(@template)
$("#toolbar-footer").append(@$el)
@$el.on "click", (e) ->
e.preventDefault()
window.open("/learn", "_latex_help")