Merge pull request #99 from MayhemYDG/master
Better position of inlined backquotes
This commit is contained in:
commit
f48f7fc6de
@ -1765,8 +1765,7 @@
|
||||
}
|
||||
}
|
||||
if (this.className === 'backlink') {
|
||||
root = $('table, blockquote', root);
|
||||
$.before(root, inline);
|
||||
$.after($('td > br:first-of-type, td > a:last-of-type', this.parentNode), inline);
|
||||
return $.hide($.x('ancestor::table[1]', el));
|
||||
} else {
|
||||
return $.after(this.parentNode, inline);
|
||||
|
||||
@ -1411,8 +1411,7 @@ quoteInline =
|
||||
#FIXME need an array of callbacks
|
||||
g.requests[threadID] = $.get @href, (-> quoteInline.parse this, id, threadID, inline)
|
||||
if @className is 'backlink'
|
||||
root = $ 'table, blockquote', root
|
||||
$.before root, inline
|
||||
$.after $('td > br:first-of-type, td > a:last-of-type', @parentNode), inline
|
||||
$.hide $.x 'ancestor::table[1]', el
|
||||
else
|
||||
$.after @parentNode, inline
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user