Fix #346. I dislike this CSS.

This commit is contained in:
Nicolas Stepien 2012-03-18 20:13:52 +01:00
parent b2792a05f9
commit 8e09b7b483
2 changed files with 4 additions and 10 deletions

View File

@ -2426,7 +2426,7 @@
_ref = $$('.thread'); _ref = $$('.thread');
for (_i = 0, _len = _ref.length; _i < _len; _i++) { for (_i = 0, _len = _ref.length; _i < _len; _i++) {
thread = _ref[_i]; thread = _ref[_i];
op = thread.firstChild; op = $('.op', thread);
a = $.el('a', { a = $.el('a', {
textContent: '[ - ]', textContent: '[ - ]',
href: 'javascript:;' href: 'javascript:;'
@ -4069,10 +4069,7 @@ a[href="javascript:;"] {\
text-decoration: none;\ text-decoration: none;\
}\ }\
\ \
.block ~ .op,\ .block ~ *,\
.block ~ .omittedposts,\
.block ~ table,\
.block ~ br,\
#content > [name=tab]:not(:checked) + div,\ #content > [name=tab]:not(:checked) + div,\
#updater:not(:hover) > :not(.move),\ #updater:not(:hover) > :not(.move),\
#qp > input, #qp .inline, .forwarded {\ #qp > input, #qp .inline, .forwarded {\

View File

@ -2043,7 +2043,7 @@ ThreadHiding =
init: -> init: ->
hiddenThreads = $.get "hiddenThreads/#{g.BOARD}/", {} hiddenThreads = $.get "hiddenThreads/#{g.BOARD}/", {}
for thread in $$ '.thread' for thread in $$ '.thread'
op = thread.firstChild op = $ '.op', thread
a = $.el 'a', a = $.el 'a',
textContent: '[ - ]' textContent: '[ - ]'
href: 'javascript:;' href: 'javascript:;'
@ -3406,10 +3406,7 @@ a[href="javascript:;"] {
text-decoration: none; text-decoration: none;
} }
.block ~ .op, .block ~ *,
.block ~ .omittedposts,
.block ~ table,
.block ~ br,
#content > [name=tab]:not(:checked) + div, #content > [name=tab]:not(:checked) + div,
#updater:not(:hover) > :not(.move), #updater:not(:hover) > :not(.move),
#qp > input, #qp .inline, .forwarded { #qp > input, #qp .inline, .forwarded {