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))) {
|
if (table = $("#i" + id, $.x('ancestor::td[1]', this))) {
|
||||||
$.rm(table);
|
$.rm(table);
|
||||||
$.removeClass(this, 'inlined');
|
$.removeClass(this, 'inlined');
|
||||||
if (this.className === 'backlink') {
|
_ref = $$('input', table);
|
||||||
_ref = $$('input', table);
|
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
inlined = _ref[_i];
|
||||||
inlined = _ref[_i];
|
$.show($.x('ancestor::table[1]', d.getElementById(inlined.name)));
|
||||||
$.show($.x('ancestor::table[1]', d.getElementById(inlined.name)));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1475,9 +1475,8 @@ quoteInline =
|
|||||||
if table = $ "#i#{id}", $.x 'ancestor::td[1]', @
|
if table = $ "#i#{id}", $.x 'ancestor::td[1]', @
|
||||||
$.rm table
|
$.rm table
|
||||||
$.removeClass @, 'inlined'
|
$.removeClass @, 'inlined'
|
||||||
if @className is 'backlink'
|
for inlined in $$ 'input', table
|
||||||
for inlined in $$ 'input', table
|
$.show $.x 'ancestor::table[1]', d.getElementById inlined.name
|
||||||
$.show $.x 'ancestor::table[1]', d.getElementById inlined.name
|
|
||||||
return
|
return
|
||||||
root = if @parentNode.nodeName is 'FONT' then @parentNode else @nextSibling
|
root = if @parentNode.nodeName is 'FONT' then @parentNode else @nextSibling
|
||||||
if el = d.getElementById id
|
if el = d.getElementById id
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user