Fix backlink inlining removing its container.
This commit is contained in:
parent
fae315d2c9
commit
2c2aa309c7
@ -2048,6 +2048,9 @@
|
||||
if (el = d.getElementById(id)) {
|
||||
inline = quoteInline.table(id, el.innerHTML);
|
||||
if (this.className === 'backlink') {
|
||||
if ($("a.backlink[href='#" + id + "']", el)) {
|
||||
return;
|
||||
}
|
||||
$.after(this.parentNode, inline);
|
||||
$.hide($.x('ancestor::table[1]', el));
|
||||
} else {
|
||||
|
||||
@ -4,6 +4,7 @@ github
|
||||
- fix remember updater's interval settings
|
||||
- fix wrong keybind input in options
|
||||
- fix time preview
|
||||
- fix backlink inlining removing its container
|
||||
|
||||
2.16.1
|
||||
- mayhem:
|
||||
|
||||
@ -1592,6 +1592,7 @@ quoteInline =
|
||||
if el = d.getElementById id
|
||||
inline = quoteInline.table id, el.innerHTML
|
||||
if @className is 'backlink'
|
||||
return if $("a.backlink[href='##{id}']", el)
|
||||
$.after @parentNode, inline
|
||||
$.hide $.x 'ancestor::table[1]', el
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user