mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
Use DOM's querySelector instead of JQuery's Swizzle for getLineElement
This commit is contained in:
@@ -214,7 +214,7 @@ class Editor extends View
|
||||
@getLineElement(row).remove()
|
||||
|
||||
getLineElement: (row) ->
|
||||
@lines.find("div.line:eq(#{row})")
|
||||
$(@lines[0].querySelector("div.line")[row])
|
||||
|
||||
toggleSoftWrap: ->
|
||||
@setSoftWrap(not @softWrap)
|
||||
|
||||
Reference in New Issue
Block a user