implemented adding of new options

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2026-02-23 07:49:10 +01:00
parent dd8eefed61
commit 0eab5619d1
5 changed files with 99 additions and 29 deletions

View File

@@ -28,6 +28,9 @@
let res = await post(url,new_option);
if (res.ok){
yikes();
const json = await res.json();
console.log(json);
poll.options = json.options;
} else error(res);
}