comparison rlgterm.js @ 161:a2a25b7631f1

RLGWebD client: fix watching.
author John "Elwin" Edwards
date Sat, 03 Jan 2015 20:03:49 -0500
parents a613380ffdc2
children 0f6da35b27a0
comparison
equal deleted inserted replaced
160:ed837da65e5f 161:a2a25b7631f1
342 continue; 342 continue;
343 } 343 }
344 cell3.appendChild(document.createTextNode(idlestr(gamelist[i].i))); 344 cell3.appendChild(document.createTextNode(idlestr(gamelist[i].i)));
345 var button = document.createElement("span"); 345 var button = document.createElement("span");
346 button.appendChild(document.createTextNode("Watch")); 346 button.appendChild(document.createTextNode("Watch"));
347 button.onclick = makeWatcher(gamelist[i].n); 347 button.onclick = makeWatcher(uname + "/" + gamelist[i].p);
348 button.className = "ibutton"; 348 button.className = "ibutton";
349 cell4.appendChild(button); 349 cell4.appendChild(button);
350 row.appendChild(cell1); 350 row.appendChild(cell1);
351 row.appendChild(cell2); 351 row.appendChild(cell2);
352 row.appendChild(cell3); 352 row.appendChild(cell3);