]> git.pond.sub.org Git - eow/blobdiff - static/eow.js
Add logging package. Handle flush prompts.
[eow] / static / eow.js
index 95366290973af9ae6c03cb9a2f5c3bed6d7cbad0..19807e408f2a920c9390ee310b130455c26d9be2 100644 (file)
@@ -72,8 +72,8 @@ function submit_cmdline(cmdline_form) {
   });
 }
 
-function prompt(minutes, btus) {
-  byId("prompt").textContent = "[" + minutes + "," + btus + "]: ";
+function prompt(p) {
+  byId("prompt").textContent = p;
   get_next_update();
 }