fix cnc mod script the same way
This commit is contained in:
@@ -129,7 +129,7 @@
|
|||||||
var version = window.external.metadata("VERSION", "cnc");
|
var version = window.external.metadata("VERSION", "cnc");
|
||||||
document.getElementById("installedversion").innerHTML = version;
|
document.getElementById("installedversion").innerHTML = version;
|
||||||
document.getElementById("latestversion").innerHTML = window.external.httpRequest("http://master.open-ra.org/VERSION");
|
document.getElementById("latestversion").innerHTML = window.external.httpRequest("http://master.open-ra.org/VERSION");
|
||||||
motd = window.external.httpRequest("http://master.open-ra.org/motd.php?v="+version);
|
var motd = window.external.httpRequest("http://master.open-ra.org/motd.php?v="+version);
|
||||||
if (motd != undefined)
|
if (motd != undefined)
|
||||||
document.getElementById("motd").innerHTML = motd.substring(3);
|
document.getElementById("motd").innerHTML = motd.substring(3);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user