From 80b1aecd21fc5aff3bf22eaa993fe107b21f16b9 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 14 Mar 2015 14:45:21 -0700 Subject: [PATCH] Don't double-run SWFEmbed.init. --- src/Miscellaneous/Flash.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Miscellaneous/Flash.coffee b/src/Miscellaneous/Flash.coffee index 54fd7dd61..b13960541 100644 --- a/src/Miscellaneous/Flash.coffee +++ b/src/Miscellaneous/Flash.coffee @@ -4,7 +4,7 @@ Flash = $.ready Flash.initReady initReady: -> - $.globalEval 'SWFEmbed.init()' + $.globalEval 'if (JSON.parse(localStorage["4chan-settings"] || "{}").disableAll) SWFEmbed.init();' return unless g.VIEW is 'thread'