Make IE sane
This commit is contained in:
parent
37c9d4b9cd
commit
0bbcf6510e
8 changed files with 24 additions and 21 deletions
|
|
@ -179,7 +179,8 @@ function loadjs(url, completed) {
|
|||
|
||||
// Hack for IE, don't know whether this still applies to IE9.
|
||||
script.onreadystatechange = function() {
|
||||
script.onload();
|
||||
if (script.readyState == 'loaded' || script.readyState == 'complete')
|
||||
script.onload();
|
||||
};
|
||||
(document.head || document.getElementsByTagName('head')[0]).appendChild(script);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue