summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas BrĂ¼derli2009-08-10 12:05:41 +0000
committerThomas BrĂ¼derli2009-08-10 12:05:41 +0000
commit0a42e1dd0e9e448751b091e67989ad7c2437181e (patch)
tree98a26b6bcfbd3e1f44161b91daa3168a3b31d01a
parentdf5810a6fa88aa1f7504cf44a0922ec563fb8351 (diff)
downloaditools-0a42e1dd0e9e448751b091e67989ad7c2437181e.tar.gz
itools-0a42e1dd0e9e448751b091e67989ad7c2437181e.tar.bz2
itools-0a42e1dd0e9e448751b091e67989ad7c2437181e.zip
Set html.js css class if javascript/jsboot is enabled
-rw-r--r--itjs/boot.js4
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';
+