Add a version class to the body for userstyles to use. Close #164

This commit is contained in:
Nicolas Stepien 2012-02-05 14:56:50 +01:00
parent e269182e8d
commit c73d0e17f2
2 changed files with 2 additions and 0 deletions

View File

@ -3506,6 +3506,7 @@
return;
}
if (!$.id('navtopr')) return;
$.addClass(d.body, "chanx_" + (VERSION.match(/\.(\d+)/)[1]));
$.addClass(d.body, engine);
threading.init();
Favicon.init();

View File

@ -2743,6 +2743,7 @@ Main =
return
if not $.id 'navtopr'
return
$.addClass d.body, "chanx_#{VERSION.match(/\.(\d+)/)[1]}"
$.addClass d.body, engine
threading.init()
Favicon.init()