Commit a9b91840 by cahrens

Remove unnecessary helper method.

parent a6b18dea
......@@ -99,11 +99,8 @@ class @HTMLEditingDescriptor
codeEditor.setValue(content)
initInstanceCallback: (visualEditor) =>
@rewriteLinksFromStatic(visualEditor)
visualEditor.focus()
rewriteLinksFromStatic: (visualEditor) =>
visualEditor.setContent(rewriteStaticLinks(visualEditor.getContent({no_events: 1}), '/static/', @base_asset_url))
visualEditor.focus()
getVisualEditor: () ->
###
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment