Fix quoting on Firefox.
This commit is contained in:
parent
f456495160
commit
4860b59d1b
@ -172,7 +172,7 @@ QR =
|
|||||||
post = Get.postFromNode @
|
post = Get.postFromNode @
|
||||||
text = ">>#{post}\n"
|
text = ">>#{post}\n"
|
||||||
if sel.toString().trim() and post is Get.postFromNode sel.anchorNode
|
if sel.toString().trim() and post is Get.postFromNode sel.anchorNode
|
||||||
range = sel.getRangeAt()
|
range = sel.getRangeAt 0
|
||||||
frag = range.cloneContents()
|
frag = range.cloneContents()
|
||||||
ancestor = range.commonAncestorContainer
|
ancestor = range.commonAncestorContainer
|
||||||
if ancestor.nodeName is '#text'
|
if ancestor.nodeName is '#text'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user