Fix #362
This commit is contained in:
parent
4fa1ad3441
commit
66411f0b1f
@ -2450,10 +2450,10 @@
|
||||
_ref = $$('.backlink.inlined:not(.filtered)', table);
|
||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||
inlined = _ref[_i];
|
||||
$.x('ancestor::table[1]', $.id(inlined.hash.slice(1))).hidden = false;
|
||||
$.x('ancestor::table', $.id(inlined.hash.slice(1))).hidden = false;
|
||||
}
|
||||
if (!q.classList.contains('filtered')) {
|
||||
$.x('ancestor::table[1]', $.id(id)).hidden = false;
|
||||
if (q.classList.contains('backlink') && !q.classList.contains('filtered')) {
|
||||
$.x('ancestor::table', $.id(id)).hidden = false;
|
||||
}
|
||||
return $.rm(table);
|
||||
},
|
||||
|
||||
@ -1835,9 +1835,9 @@ quoteInline =
|
||||
#select the corresponding table or loading td
|
||||
table = $.x "following::*[@id='i#{id}']", q
|
||||
for inlined in $$ '.backlink.inlined:not(.filtered)', table
|
||||
$.x('ancestor::table[1]', $.id inlined.hash[1..]).hidden = false
|
||||
unless q.classList.contains 'filtered'
|
||||
$.x('ancestor::table[1]', $.id id).hidden = false
|
||||
$.x('ancestor::table', $.id inlined.hash[1..]).hidden = false
|
||||
if q.classList.contains('backlink') and not q.classList.contains 'filtered'
|
||||
$.x('ancestor::table', $.id id).hidden = false
|
||||
$.rm table
|
||||
|
||||
parse: (req, pathname, id, threadID, inline) ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user