Fixed a incompatiblity with FF3 (and others).

This commit is contained in:
FrozenCow 2011-04-02 00:52:24 +02:00
parent 4b8ac8442c
commit cf8c2e80f4

View file

@ -33,7 +33,7 @@ function loadjs(url, completed) {
script.onreadystatechange = function() {
script.onload();
};
document.head.appendChild(script);
(document.head || document.getElementsByTagName('head')[0]).appendChild(script);
}
function splitArgs(s) {