You can inline backlinks within normal quotes too.
This commit is contained in:
parent
27a8ba7b70
commit
17976954d8
@ -1880,12 +1880,10 @@
|
||||
if (table = $("#i" + id, $.x('ancestor::td[1]', this))) {
|
||||
$.rm(table);
|
||||
$.removeClass(this, 'inlined');
|
||||
if (this.className === 'backlink') {
|
||||
_ref = $$('input', table);
|
||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||
inlined = _ref[_i];
|
||||
$.show($.x('ancestor::table[1]', d.getElementById(inlined.name)));
|
||||
}
|
||||
_ref = $$('input', table);
|
||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||
inlined = _ref[_i];
|
||||
$.show($.x('ancestor::table[1]', d.getElementById(inlined.name)));
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
@ -1475,9 +1475,8 @@ quoteInline =
|
||||
if table = $ "#i#{id}", $.x 'ancestor::td[1]', @
|
||||
$.rm table
|
||||
$.removeClass @, 'inlined'
|
||||
if @className is 'backlink'
|
||||
for inlined in $$ 'input', table
|
||||
$.show $.x 'ancestor::table[1]', d.getElementById inlined.name
|
||||
for inlined in $$ 'input', table
|
||||
$.show $.x 'ancestor::table[1]', d.getElementById inlined.name
|
||||
return
|
||||
root = if @parentNode.nodeName is 'FONT' then @parentNode else @nextSibling
|
||||
if el = d.getElementById id
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user