Fix #679
This commit is contained in:
parent
8ba4898158
commit
bc94a3d98c
@ -3201,6 +3201,7 @@
|
||||
return;
|
||||
}
|
||||
this.isHidden = true;
|
||||
this.OP.nodes.root.parentElement.hidden = true;
|
||||
if (button = $('.hide-post-button', this.OP.nodes.root)) {
|
||||
return $.replace(button, PostHiding.makeButton(false));
|
||||
}
|
||||
|
||||
@ -3249,6 +3249,7 @@
|
||||
return;
|
||||
}
|
||||
this.isHidden = true;
|
||||
this.OP.nodes.root.parentElement.hidden = true;
|
||||
if (button = $('.hide-post-button', this.OP.nodes.root)) {
|
||||
return $.replace(button, PostHiding.makeButton(false));
|
||||
}
|
||||
|
||||
@ -65,6 +65,7 @@ class Thread
|
||||
hide: ->
|
||||
return if @isHidden
|
||||
@isHidden = true
|
||||
@OP.nodes.root.parentElement.hidden = true
|
||||
if button = $ '.hide-post-button', @OP.nodes.root
|
||||
$.replace button, PostHiding.makeButton false
|
||||
show: ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user