overleaf/services/web/public/coffee/help/HelpManager.coffee
2014-02-12 10:23:40 +00:00

13 lines
261 B
CoffeeScript

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")