fix cnc mod script the same way
This commit is contained in:
@@ -129,7 +129,7 @@
|
||||
var version = window.external.metadata("VERSION", "cnc");
|
||||
document.getElementById("installedversion").innerHTML = 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)
|
||||
document.getElementById("motd").innerHTML = motd.substring(3);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user