From 482426499ca5e760ed1a697dc60a505904157264 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Thu, 28 Apr 2016 09:17:25 -0700 Subject: [PATCH] Don't call Flash embedding until after parsing. --- src/Miscellaneous/Flash.coffee | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Miscellaneous/Flash.coffee b/src/Miscellaneous/Flash.coffee index 02ed6a4af..b34d3d67f 100644 --- a/src/Miscellaneous/Flash.coffee +++ b/src/Miscellaneous/Flash.coffee @@ -1,9 +1,11 @@ Flash = init: -> if g.BOARD.ID is 'f' and Conf['Enable Native Flash Embedding'] - $.ready Flash.initReady + Callbacks.Thread.push + name: 'Flash Embedding' + cb: @node - initReady: -> + node: -> if $.hasStorage $.global -> window.SWFEmbed.init() if JSON.parse(localStorage['4chan-settings'] or '{}').disableAll else