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

14 lines
261 B
CoffeeScript
Raw Normal View History

2014-02-12 10:23:40 +00: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")