aboutsummaryrefslogtreecommitdiff
path: root/poll/public
diff options
context:
space:
mode:
authorMarvin Borner2020-10-03 11:56:46 +0200
committerMarvin Borner2020-10-03 11:56:46 +0200
commit148a9a5a63ed3e73d0a8709e7972fd1b1586c5b8 (patch)
treed5650c856ea18f1f0a7306028844587d4697e7be /poll/public
parent970dfec33a2cd53ad72ba0da59c129f65d6032f6 (diff)
Added class-specific filter
Diffstat (limited to 'poll/public')
-rw-r--r--poll/public/script.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/poll/public/script.js b/poll/public/script.js
index a42777f..bfb686d 100644
--- a/poll/public/script.js
+++ b/poll/public/script.js
@@ -10,7 +10,7 @@ function appendOption(response) {
"beforeend",
`<option value="${elem["id"]}">${elem["name"]} ${elem["middlename"] ? elem["middlename"] : " "}${
elem["surname"]
- }</option>`
+ }</option>`,
);
});
}
@@ -23,7 +23,7 @@ function appendQuote(response) {
"beforeend",
`<li>${elem["name"]} ${elem["middlename"] ? elem["middlename"] : " "}${elem["surname"]}: ${
elem["quote"]
- }</li>`
+ }</li>`,
);
});
}