commit
26e0c44376
@ -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);
|
||||
},
|
||||
@ -3097,11 +3097,6 @@
|
||||
if (conf['Indicate OP quote']) {
|
||||
quoteOP.init();
|
||||
}
|
||||
if (g.REPLY) {
|
||||
if (conf['Image Preloading']) {
|
||||
imgPreloading.init();
|
||||
}
|
||||
}
|
||||
if (d.body) {
|
||||
return Main.onLoad();
|
||||
} else {
|
||||
@ -3143,6 +3138,9 @@
|
||||
if (conf['Thread Stats']) {
|
||||
threadStats.init();
|
||||
}
|
||||
if (conf['Image Preloading']) {
|
||||
imgPreloading.init();
|
||||
}
|
||||
if (conf['Reply Navigation']) {
|
||||
nav.init();
|
||||
}
|
||||
|
||||
@ -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) ->
|
||||
@ -2359,10 +2359,6 @@ Main =
|
||||
if conf['Indicate OP quote']
|
||||
quoteOP.init()
|
||||
|
||||
if g.REPLY
|
||||
if conf['Image Preloading']
|
||||
imgPreloading.init()
|
||||
|
||||
|
||||
if d.body
|
||||
Main.onLoad()
|
||||
@ -2404,6 +2400,9 @@ Main =
|
||||
if conf['Thread Stats']
|
||||
threadStats.init()
|
||||
|
||||
if conf['Image Preloading']
|
||||
imgPreloading.init()
|
||||
|
||||
if conf['Reply Navigation']
|
||||
nav.init()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user