diff 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
line wrap: on
line diff
--- a/rlgterm.js	Sat Jan 03 17:39:15 2015 -0500
+++ b/rlgterm.js	Sat Jan 03 20:03:49 2015 -0500
@@ -344,7 +344,7 @@
     cell3.appendChild(document.createTextNode(idlestr(gamelist[i].i)));
     var button = document.createElement("span");
     button.appendChild(document.createTextNode("Watch"));
-    button.onclick = makeWatcher(gamelist[i].n);
+    button.onclick = makeWatcher(uname + "/" + gamelist[i].p);
     button.className = "ibutton";
     cell4.appendChild(button);
     row.appendChild(cell1);