Merge pull request #99 from MayhemYDG/master

Better position of inlined backquotes
This commit is contained in:
James Campos 2011-05-17 10:09:26 -07:00
commit f48f7fc6de
2 changed files with 2 additions and 4 deletions

View File

@ -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);

View File

@ -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