Added newsletter and small fixes

This commit is contained in:
Mawoka
2022-06-17 21:30:39 +02:00
parent 3f9d136c97
commit 5aad57d7cc
5 changed files with 110 additions and 2 deletions
+1
View File
@@ -132,6 +132,7 @@
class:dark:bg-green-500={index === selected_question}
on:contextmenu|preventDefault={() => {
if (confirm('Do you really want to delete this Question?')) {
selected_question = selected_question - 1;
data.questions.splice(index, 1);
data.questions = data.questions;
}