Append backlinks into the container before appending the said container into the post.

This commit is contained in:
Nicolas Stepien 2012-03-03 02:46:09 +01:00
parent 63f48aeba6
commit ad2e396d04
2 changed files with 6 additions and 2 deletions

View File

@ -3087,10 +3087,12 @@
container = $.el('span', {
className: 'container'
});
$.add(container, [$.tn(' '), link]);
root = $('.reportbutton', el) || $('span[id]', el);
$.after(root, container);
} else {
$.add(container, [$.tn(' '), link]);
}
$.add(container, [$.tn(' '), link]);
}
}
};

View File

@ -2509,9 +2509,11 @@ quoteBacklink =
$.on link, 'click', quoteInline.toggle
unless (container = $ '.container', el) and container.parentNode is el
container = $.el 'span', className: 'container'
$.add container, [$.tn(' '), link]
root = $('.reportbutton', el) or $('span[id]', el)
$.after root, container
$.add container, [$.tn(' '), link]
else
$.add container, [$.tn(' '), link]
return
quoteInline =