Need to set thread ID for native Flash embedding here since native Main.init crashes.

This commit is contained in:
ccd0 2015-11-08 18:52:14 -08:00
parent e5f73f812b
commit d87a313679

View File

@ -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()