From fd15546c012e42867f9b052433f968d7cd2f27da Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 6 Oct 2020 18:24:22 +0200 Subject: Added teachers FINALLY GOT A LIST... --- quotes/public/index.html | 2 ++ quotes/public/script.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'quotes') diff --git a/quotes/public/index.html b/quotes/public/index.html index 343f5a3..8853ee4 100644 --- a/quotes/public/index.html +++ b/quotes/public/index.html @@ -41,6 +41,8 @@
+ + diff --git a/quotes/public/script.js b/quotes/public/script.js index a681e6d..5f40a27 100644 --- a/quotes/public/script.js +++ b/quotes/public/script.js @@ -44,7 +44,7 @@ fetch("api/list") .then((response) => response.json()) .then((response) => appendQuote(response)); -const classes = ["TGI13.1", "TGI13.2", "TGM13.1", "TGM13.2", "TGTM13.1"]; +const classes = ["TGI13.1", "TGI13.2", "TGM13.1", "TGM13.2", "TGTM13.1", "teacher"]; classes.forEach((clazz) => { document.getElementById("open_" + clazz).addEventListener("click", () => { const ul = document.getElementById(clazz); -- cgit v1.2.3