Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Akihisa Yamada committed Feb 26, 2021
1 parent 30ec26c commit 80868f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion definitions.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function seconds2str(s) {
return (d>0? d + 'd ' : '') + h + ':' + String(m).padStart(2,0) + ':' + String(s).padStart(2,0);
}
function newXMLHttp() {
return window.ActiveXObject ? ActiveXObject("Msxml2.XMLHTTP") : XMLHttpRequest();
return window.ActiveXObject ? new ActiveXObject("Msxml2.XMLHTTP") : new XMLHttpRequest();
}
function syncURL(url) {
xhttp = newHTTP();
Expand Down

0 comments on commit 80868f8

Please sign in to comment.