Fix post hiding.
This commit is contained in:
parent
d77f9d0d8e
commit
5c3ca1d76e
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
BIN
builds/crx.crx
BIN
builds/crx.crx
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -36,6 +36,9 @@ body > hr {
|
||||
.forwarded,
|
||||
.hidden_thread ~ div,
|
||||
.hidden_thread ~ a,
|
||||
.replyContainer .stub ~ div,
|
||||
.replyContainer .stub ~ a,
|
||||
.stub + div,
|
||||
[hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
@ -726,10 +729,17 @@ hide: "
|
||||
.menu-button {
|
||||
position: relative;
|
||||
}
|
||||
.stub .menu-button,
|
||||
.post .menu-button,
|
||||
.hide-thread-button,
|
||||
.show-thread-button span,
|
||||
.hide-reply-button,
|
||||
.show-reply-button span {
|
||||
float: right;
|
||||
}
|
||||
.post .menu-button,
|
||||
.hide-thread-button,
|
||||
.hide-reply-button {
|
||||
float: right;
|
||||
margin: 0 3px;
|
||||
opacity: 0;
|
||||
#{agent}transition: opacity .3s ease-out 0s;
|
||||
@ -980,8 +990,8 @@ else ""
|
||||
/* Stubs */
|
||||
#{if _conf['Fit Width Replies'] then "
|
||||
.stub {
|
||||
float: right;
|
||||
clear: both;
|
||||
display: block;
|
||||
text-align: right;
|
||||
}" else ""}
|
||||
/* Emoji */
|
||||
#{unless _conf["Emoji"] is "disable" then Emoji.css _conf["Emoji Position"] else ""}
|
||||
|
||||
@ -655,7 +655,7 @@ ThreadHiding =
|
||||
if data = ThreadHiding.db.get {boardID: @board.ID, threadID: @ID}
|
||||
ThreadHiding.hide @, data.makeStub
|
||||
return unless Conf['Thread Hiding']
|
||||
$.prepend @OP.nodes.root, ThreadHiding.makeButton @, 'hide'
|
||||
$.prepend @OP.nodes.info, ThreadHiding.makeButton @, 'hide'
|
||||
|
||||
syncCatalog: ->
|
||||
# Sync hidden threads from the catalog into the index.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user