mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05:00
Always fire attach events (change from one to on)
This commit is contained in:
@@ -166,7 +166,7 @@ class Editor extends View
|
||||
else
|
||||
@gutter.addClass('drop-shadow')
|
||||
|
||||
@one 'attach', =>
|
||||
@on 'attach', =>
|
||||
@calculateDimensions()
|
||||
@hiddenInput.width(@charWidth)
|
||||
@setMaxLineLength() if @softWrap
|
||||
|
||||
Reference in New Issue
Block a user