mirror of
https://github.com/atom/atom.git
synced 2026-02-10 14:45:11 -05:00
Avoid leaking window resize subscriptions in editor spec
This commit is contained in:
@@ -228,8 +228,6 @@ class Editor extends View
|
||||
else
|
||||
@gutter.addClass('drop-shadow')
|
||||
|
||||
$(window).on "resize.editor#{@id}", =>
|
||||
@updateRenderedLines()
|
||||
|
||||
afterAttach: (onDom) ->
|
||||
return if @attached or not onDom
|
||||
|
||||
Reference in New Issue
Block a user