Don't call Flash embedding until after parsing.
This commit is contained in:
parent
6dd281ba64
commit
482426499c
@ -1,9 +1,11 @@
|
|||||||
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']
|
||||||
$.ready Flash.initReady
|
Callbacks.Thread.push
|
||||||
|
name: 'Flash Embedding'
|
||||||
|
cb: @node
|
||||||
|
|
||||||
initReady: ->
|
node: ->
|
||||||
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