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 +--------------
 www/ui/data/tpl/form_abspieler.tpl |    2 +-
 2 files changed, 2 insertions(+), 15 deletions(-)

diff --git a/www/ui/data/tpl/form_abspieler.tpl b/www/ui/data/tpl/form_abspieler.tpl
index c6f6eb3..50eea05 100644
--- a/www/ui/data/tpl/form_abspieler.tpl
+++ b/www/ui/data/tpl/form_abspieler.tpl
@@ -1,5 +1,5 @@
 <div class="entity-formular">
-  Einstellung
+  Abspieler
 
   <input class="entity-element" type="text" id="abspieler-name" placeholder="Name" value="{{name}}" />
   <input class="entity-element" type="text" id="abspieler-url" placeholder="URL" value="{{url}}" />
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