This commit is contained in:
Nicolas Stepien 2012-05-14 18:11:04 +02:00
parent fc8295925c
commit 865afc1d7f
2 changed files with 6 additions and 4 deletions

View File

@ -964,7 +964,7 @@
thread.nextElementSibling.hidden = true; thread.nextElementSibling.hidden = true;
return; return;
} }
if (thread.firstChild.className === 'block') { if (thread.firstChild.className === 'hide_thread_button hidden_thread') {
return; return;
} }
num = 0; num = 0;
@ -4229,11 +4229,12 @@ a[href="javascript:;"] {\
color: red;\ color: red;\
}\ }\
\ \
.hide_thread_button {\ .hide_thread_button:not(.hidden_thread) {\
float: left;\ float: left;\
}\ }\
\ \
.hidden_thread ~ *,\ .hidden_thread ~ *,\
.hidden_thread + div.opContainer,\
[hidden],\ [hidden],\
#content > [name=tab]:not(:checked) + div,\ #content > [name=tab]:not(:checked) + div,\
#updater:not(:hover) > :not(.move),\ #updater:not(:hover) > :not(.move),\

View File

@ -749,7 +749,7 @@ ThreadHiding =
thread.nextElementSibling.hidden = true thread.nextElementSibling.hidden = true
return return
return if thread.firstChild.className is 'block' # already hidden by filter return if thread.firstChild.className is 'hide_thread_button hidden_thread' # already hidden by filter
num = 0 num = 0
if span = $ '.summary', thread if span = $ '.summary', thread
@ -3238,11 +3238,12 @@ a[href="javascript:;"] {
color: red; color: red;
} }
.hide_thread_button { .hide_thread_button:not(.hidden_thread) {
float: left; float: left;
} }
.hidden_thread ~ *, .hidden_thread ~ *,
.hidden_thread + div.opContainer,
[hidden], [hidden],
#content > [name=tab]:not(:checked) + div, #content > [name=tab]:not(:checked) + div,
#updater:not(:hover) > :not(.move), #updater:not(:hover) > :not(.move),