RLGWebD client: fix watching.

This commit is contained in:
John "Elwin" Edwards 2015-01-03 20:03:49 -05:00
parent abb4ba8f31
commit b7eb9ef98a

View file

@ -344,7 +344,7 @@ function tableCurrent(gamelist) {
cell3.appendChild(document.createTextNode(idlestr(gamelist[i].i))); cell3.appendChild(document.createTextNode(idlestr(gamelist[i].i)));
var button = document.createElement("span"); var button = document.createElement("span");
button.appendChild(document.createTextNode("Watch")); button.appendChild(document.createTextNode("Watch"));
button.onclick = makeWatcher(gamelist[i].n); button.onclick = makeWatcher(uname + "/" + gamelist[i].p);
button.className = "ibutton"; button.className = "ibutton";
cell4.appendChild(button); cell4.appendChild(button);
row.appendChild(cell1); row.appendChild(cell1);