This commit is contained in:
Zixaphir 2014-07-31 14:18:15 -07:00
parent 8ba4898158
commit bc94a3d98c
3 changed files with 3 additions and 0 deletions

View File

@ -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));
} }

View File

@ -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));
} }

View File

@ -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: ->