rlgterm.js: don't make nonfunctional button.

The "Game in progress" text shouldn't look like a button, because
clicking it doesn't do anything.
This commit is contained in:
John "Elwin" Edwards 2012-06-11 14:04:35 -07:00
parent b24bf3b972
commit 17159bf823

View file

@ -442,9 +442,9 @@ function getchoices() {
continue;
var button = document.createElement("span");
button.appendChild(document.createTextNode(acttext));
button.className = "ibutton";
if ("s0".indexOf(reply.stat[gname]) >= 0) {
button.onclick = makeStarter(gname);
button.className = "ibutton";
}
var actdiv = document.createElement("div");
actdiv.appendChild(button);