Merge branch 'v3' of https://github.com/zixaphir/appchan-x
This commit is contained in:
commit
c5148ff966
@ -81,8 +81,12 @@ QuoteInline =
|
||||
# Select the corresponding inlined quote, and remove it.
|
||||
root = QuoteInline.findRoot quotelink, isBacklink
|
||||
root = $.x "following-sibling::div[@id='i#{postID}'][1]", root
|
||||
qroot = $.x 'ancestor::*[contains(@class,"postContainer")][1]', root
|
||||
$.rm root
|
||||
|
||||
unless $ '.inline', qroot
|
||||
$.rmClass qroot, 'hasInline'
|
||||
|
||||
# Stop if it only contains text.
|
||||
return unless el = root.firstElementChild
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user