Revert "Don't call Flash embedding until after parsing."
Broke Flash embedding on /f/ index. This reverts commit 482426499ca5e760ed1a697dc60a505904157264.
This commit is contained in:
parent
43de0d6b91
commit
d69e6d996d
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user