diff --git a/LICENSE b/LICENSE index 235153176..5ffac315b 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ /* -* 4chan X - Version 1.2.12 - 2013-05-27 +* 4chan X - Version 1.2.12 - 2013-05-28 * * Licensed under the MIT license. * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE diff --git a/builds/4chan-X.js b/builds/4chan-X.js index d810fa624..c106c9b98 100644 --- a/builds/4chan-X.js +++ b/builds/4chan-X.js @@ -19,7 +19,7 @@ // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAACVBMVEUAAGcAAABmzDNZt9VtAAAAAXRSTlMAQObYZgAAAHFJREFUKFOt0LENACEIBdBv4Qju4wgWanEj3D6OcIVMKaitYHEU/jwTCQj8W75kiVCSBvdQ5/AvfVHBin11BgdRq3ysBgfwBDRrj3MCIA+oAQaku/Q1cNctrAmyDl577tOThYt/Y1RBM4DgOHzM0HFTAyLukH/cmRnqAAAAAElFTkSuQmCC // ==/UserScript== /* -* 4chan X - Version 1.2.12 - 2013-05-27 +* 4chan X - Version 1.2.12 - 2013-05-28 * * Licensed under the MIT license. * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE @@ -2987,6 +2987,9 @@ if (g.VIEW === 'catalog' || !Conf['Reply Hiding Buttons'] && !Conf['Reply Hiding Link']) { return; } + if (Conf['Reply Hiding Buttons']) { + $.addClass(doc, "reply-hide"); + } this.db = new DataBoard('hiddenPosts'); return Post.prototype.callbacks.push({ name: 'Reply Hiding', diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 0cd01dfa2..8e2b5a67a 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -19,7 +19,7 @@ // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAACVBMVEUAAGcAAABmzDNZt9VtAAAAAXRSTlMAQObYZgAAAHFJREFUKFOt0LENACEIBdBv4Qju4wgWanEj3D6OcIVMKaitYHEU/jwTCQj8W75kiVCSBvdQ5/AvfVHBin11BgdRq3ysBgfwBDRrj3MCIA+oAQaku/Q1cNctrAmyDl577tOThYt/Y1RBM4DgOHzM0HFTAyLukH/cmRnqAAAAAElFTkSuQmCC // ==/UserScript== /* -* 4chan X - Version 1.2.12 - 2013-05-27 +* 4chan X - Version 1.2.12 - 2013-05-28 * * Licensed under the MIT license. * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE @@ -2983,6 +2983,9 @@ if (g.VIEW === 'catalog' || !Conf['Reply Hiding Buttons'] && !Conf['Reply Hiding Link']) { return; } + if (Conf['Reply Hiding Buttons']) { + $.addClass(doc, "reply-hide"); + } this.db = new DataBoard('hiddenPosts'); return Post.prototype.callbacks.push({ name: 'Reply Hiding', diff --git a/builds/crx/script.js b/builds/crx/script.js index 74e1c01ca..d8a3b0c65 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -1,6 +1,6 @@ // Generated by CoffeeScript /* -* 4chan X - Version 1.2.12 - 2013-05-27 +* 4chan X - Version 1.2.12 - 2013-05-28 * * Licensed under the MIT license. * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE @@ -2985,6 +2985,9 @@ if (g.VIEW === 'catalog' || !Conf['Reply Hiding Buttons'] && !Conf['Reply Hiding Link']) { return; } + if (Conf['Reply Hiding Buttons']) { + $.addClass(doc, "reply-hide"); + } this.db = new DataBoard('hiddenPosts'); return Post.prototype.callbacks.push({ name: 'Reply Hiding', diff --git a/src/Filtering/PostHiding.coffee b/src/Filtering/PostHiding.coffee index 17b406c47..9d19ac74b 100644 --- a/src/Filtering/PostHiding.coffee +++ b/src/Filtering/PostHiding.coffee @@ -2,6 +2,9 @@ PostHiding = init: -> return if g.VIEW is 'catalog' or !Conf['Reply Hiding Buttons'] and !Conf['Reply Hiding Link'] + if Conf['Reply Hiding Buttons'] + $.addClass doc, "reply-hide" + @db = new DataBoard 'hiddenPosts' Post::callbacks.push name: 'Reply Hiding'