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