From cb0ec9dfa1463d0f5e0ffa6b0db3973005d764cf Mon Sep 17 00:00:00 2001 From: Wolvan Date: Tue, 11 Jan 2022 21:00:44 +0100 Subject: [PATCH] Add non-JS way of adding options A new button has been added (which gets automatically removed by JS) that lets a user add a new option. Also, an XSS exploit has been fixed. --- frontend/html/index.html | 5 ++++- frontend/static/css/index.css | 4 ++++ frontend/static/js/index.js | 20 +++++++++++++++++--- src/frontend.ts | 22 ++++++++++++---------- 4 files changed, 37 insertions(+), 14 deletions(-) create mode 100644 frontend/static/css/index.css diff --git a/frontend/html/index.html b/frontend/html/index.html index 9fdd599..42777fc 100644 --- a/frontend/html/index.html +++ b/frontend/html/index.html @@ -8,6 +8,7 @@ +