mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Revert "Use DOM's querySelector instead of JQuery's Swizzle for getLineElement"
Broke the build
This reverts commit 9be4dd5053.
This commit is contained in:
@@ -214,7 +214,7 @@ class Editor extends View
|
||||
@getLineElement(row).remove()
|
||||
|
||||
getLineElement: (row) ->
|
||||
$(@lines[0].querySelector("div.line")[row])
|
||||
@lines.find("div.line:eq(#{row})")
|
||||
|
||||
toggleSoftWrap: ->
|
||||
@setSoftWrap(not @softWrap)
|
||||
|
||||
Reference in New Issue
Block a user