Find underlayer in editor instead of pane

This commit is contained in:
Kevin Sawicki
2013-02-12 20:47:58 -08:00
parent 449e4f5ac7
commit c72c6aebbd

View File

@@ -9,7 +9,7 @@ class WrapGuideView extends View
@appendToEditorPane(rootView, editor) if editor.attached
@appendToEditorPane: (rootView, editor) ->
if underlayer = editor.pane()?.find('.underlayer')
if underlayer = editor.find('.underlayer')
underlayer.append(new WrapGuideView(editor))
@content: ->