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
|
||||
$.global -> window.SWFEmbed.init() if JSON.parse(localStorage['4chan-settings'] or '{}').disableAll
|
||||
else
|
||||
if g.VIEW is 'thread'
|
||||
$.global -> window.Main.tid = location.pathname.split(/\/+/)[3]
|
||||
$.global -> window.SWFEmbed.init()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user