Append backlinks into the container before appending the said container into the post.
This commit is contained in:
parent
63f48aeba6
commit
ad2e396d04
@ -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]);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@ -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 =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user