Alert v2 users that v2 needs to be disabled.

This commit is contained in:
Nicolas Stepien 2013-04-10 01:35:16 +02:00
parent 1be56f8f05
commit a472dae321

View File

@ -464,6 +464,9 @@ Main =
Main.callbackNodes Thread, threads
Main.callbackNodes Post, posts
if $.hasClass d.body, 'fourchan_x'
alert '4chan X v2 detected: Disable it or v3 will break.'
$.event '4chanXInitFinished'
Main.checkUpdate()