Revert "Don't call Flash embedding until after parsing."

Broke Flash embedding on /f/ index.
This reverts commit 482426499ca5e760ed1a697dc60a505904157264.
This commit is contained in:
ccd0 2016-04-30 10:07:45 -07:00
parent 43de0d6b91
commit d69e6d996d

View File

@ -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