Fixed a incompatiblity with FF3 (and others).

This commit is contained in:
FrozenCow 2011-04-02 00:52:24 +02:00
parent 060f4641d4
commit 0dca8d9cfe

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) {