Shave a line.
This commit is contained in:
parent
e0cb19ac53
commit
35cfa595bf
@ -10,8 +10,7 @@ ExpandComment =
|
|||||||
$.on a, 'click', ExpandComment.cb
|
$.on a, 'click', ExpandComment.cb
|
||||||
cb: (e) ->
|
cb: (e) ->
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
post = Get.postFromNode @
|
ExpandComment.expand Get.postFromNode @
|
||||||
ExpandComment.expand post
|
|
||||||
expand: (post) ->
|
expand: (post) ->
|
||||||
if post.nodes.longComment and !post.nodes.longComment.parentNode
|
if post.nodes.longComment and !post.nodes.longComment.parentNode
|
||||||
$.replace post.nodes.shortComment, post.nodes.longComment
|
$.replace post.nodes.shortComment, post.nodes.longComment
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user