From d6b78c3129943790cfd8ab1891b5d8fe9010894c Mon Sep 17 00:00:00 2001 From: ulrich Date: Wed, 07 Apr 2021 21:34:56 +0000 Subject: [PATCH] Nachbesserungen --- www/ui/js/app.js | 15 +-------------- 1 files changed, 1 insertions(+), 14 deletions(-) diff --git a/www/ui/js/app.js b/www/ui/js/app.js index fe6d88c..434671b 100644 --- a/www/ui/js/app.js +++ b/www/ui/js/app.js @@ -344,18 +344,6 @@ document.querySelectorAll('.' + selector).forEach(elem => { elem.classList.remove(selector); }); }; - /* - this.addEvtListener = function (selector, eventName, func) { - var elems = document.querySelectorAll(selector); - var index; - for (index = 0; index < elems.length; index++) { - elems[index].addEventListener(eventName, func); - } - }; - */ - - // document.querySelectorAll(selector).forEach(elem => { elem.addEventListener(eventName, func); }); - /* --------------------- asynchroner HTTP Client ----------------- */ this.http_get = function (u, cb) { @@ -580,5 +568,4 @@ function Abspieler(n, u) { this.name = n; this.url = u; -} - +} \ No newline at end of file -- Gitblit v1.9.3