Need to set thread ID for native Flash embedding here since native Main.init crashes.
This commit is contained in:
parent
e5f73f812b
commit
d87a313679
@ -7,4 +7,6 @@ Flash =
|
|||||||
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
|
||||||
|
if g.VIEW is 'thread'
|
||||||
|
$.global -> window.Main.tid = location.pathname.split(/\/+/)[3]
|
||||||
$.global -> window.SWFEmbed.init()
|
$.global -> window.SWFEmbed.init()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user