From aeea95564cdda3cdbd2555ab7e621b6bca1e6a3c Mon Sep 17 00:00:00 2001 From: Mayhem Date: Sun, 3 Nov 2013 16:58:50 +0100 Subject: [PATCH] Don't need to reprettyprint inside of threads. --- src/Miscellaneous/Fourchan.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Miscellaneous/Fourchan.coffee b/src/Miscellaneous/Fourchan.coffee index 1b78c17de..6f290d662 100644 --- a/src/Miscellaneous/Fourchan.coffee +++ b/src/Miscellaneous/Fourchan.coffee @@ -35,7 +35,7 @@ Fourchan = return if @isClone apply = (e) -> pre.innerHTML = e.detail $.on window, 'prettyprint:cb', apply - for pre in $$ '.prettyprint', @nodes.comment + for pre in $$ '.prettyprint:not(.prettyprinted)', @nodes.comment $.event 'prettyprint', pre.innerHTML, window $.off window, 'prettyprint:cb', apply return