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 =
|
Flash =
|
||||||
init: ->
|
init: ->
|
||||||
if g.BOARD.ID is 'f' and Conf['Enable Native Flash Embedding']
|
if g.BOARD.ID is 'f' and Conf['Enable Native Flash Embedding']
|
||||||
Callbacks.Thread.push
|
$.ready Flash.initReady
|
||||||
name: 'Flash Embedding'
|
|
||||||
cb: @node
|
|
||||||
|
|
||||||
node: ->
|
initReady: ->
|
||||||
if $.hasStorage
|
if $.hasStorage
|
||||||
$.global -> window.SWFEmbed.init() if JSON.parse(localStorage['4chan-settings'] or '{}').disableAll
|
$.global -> window.SWFEmbed.init() if JSON.parse(localStorage['4chan-settings'] or '{}').disableAll
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user