diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index dab841bfe..588d65b0a 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -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)); } diff --git a/builds/crx/script.js b/builds/crx/script.js index 54af1a565..82aac7e88 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -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)); } diff --git a/src/General/lib/thread.class b/src/General/lib/thread.class index da2bdb4cf..676ae8e4a 100755 --- a/src/General/lib/thread.class +++ b/src/General/lib/thread.class @@ -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: ->