Always fire attach events (change from one to on)

This commit is contained in:
Nathan Sobo
2012-04-10 19:28:36 -06:00
parent f724b8f427
commit bc24b6a73c

View File

@@ -166,7 +166,7 @@ class Editor extends View
else
@gutter.addClass('drop-shadow')
@one 'attach', =>
@on 'attach', =>
@calculateDimensions()
@hiddenInput.width(@charWidth)
@setMaxLineLength() if @softWrap