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