diff options
author | Thomas BrĂ¼derli | 2009-08-10 12:05:41 +0000 |
---|---|---|
committer | Thomas BrĂ¼derli | 2009-08-10 12:05:41 +0000 |
commit | 0a42e1dd0e9e448751b091e67989ad7c2437181e (patch) | |
tree | 98a26b6bcfbd3e1f44161b91daa3168a3b31d01a /itjs | |
parent | df5810a6fa88aa1f7504cf44a0922ec563fb8351 (diff) | |
download | itools-0a42e1dd0e9e448751b091e67989ad7c2437181e.tar.gz itools-0a42e1dd0e9e448751b091e67989ad7c2437181e.tar.bz2 itools-0a42e1dd0e9e448751b091e67989ad7c2437181e.zip |
Set html.js css class if javascript/jsboot is enabled
Diffstat (limited to 'itjs')
-rw-r--r-- | itjs/boot.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/itjs/boot.js b/itjs/boot.js index 63ab406..8a2a30a 100644 --- a/itjs/boot.js +++ b/itjs/boot.js @@ -201,3 +201,7 @@ function it_boot(file, isretry) window.it_domtimer = window.setTimeout("it_boot('" + file + "')" , 42); } } + +if (document.documentElement) + document.documentElement.className += ' js'; + |