changeset 161:a2a25b7631f1

RLGWebD client: fix watching.
author John "Elwin" Edwards
date Sat, 03 Jan 2015 20:03:49 -0500
parents ed837da65e5f
children 5a7e7ec136c8
files rlgterm.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);