From 0033957c80c47ef17b4e403c4c5c9a45d3f2ae25 Mon Sep 17 00:00:00 2001
From: liliana <liliana.sanfilippo@uni-bielefeld.de>
Date: Thu, 25 Jul 2024 15:07:07 +0200
Subject: [PATCH] auskommentierter Code weg

---
 src/components/Filter.tsx | 31 -------------------------------
 1 file changed, 31 deletions(-)

diff --git a/src/components/Filter.tsx b/src/components/Filter.tsx
index 505055bb..ec57531e 100644
--- a/src/components/Filter.tsx
+++ b/src/components/Filter.tsx
@@ -19,37 +19,6 @@ const wikioptions =[
   
 ]
 
-/* function filterMultiSelection(arr: Array<Props>){
-  var x: string | any[] | HTMLCollectionOf<Element>, i;
-  x = document.getElementsByClassName("filterable");
-  let label = ""; 
-  arr.forEach((entry) => {
-    label = label  + entry.label + " "
-  })
-  if (label == "all" || label =="all ") label = "";
-    for (i = 0; i < x.length; i++) {
-      let el = x[i]; 
-      w3RemoveClass(el, "show");
-      if (x[i].className.indexOf(label) > -1) w3AddClass(x[i], "show");
-    }
-} */
-  /*   function filterMultiSelection(arr: Array<Props>){
-      var x: string | any[] | HTMLCollectionOf<Element>, i;
-      x = document.getElementsByClassName("filterable");
-      for (i = 0; i < x.length; i++) {
-        let el = x[i]; 
-        w3RemoveClass(el, "show");
-      }
-      
-      arr.forEach((entry) => {
-        for (i = 0; i < x.length; i++) {
-          console.log("Label: " + entry.value)
-          if (x[i].className.indexOf(entry.value) > -1) w3AddClass(x[i], "show");
-        }
-      })
-    } */
-
-      /*  */
 
       function filterMultiSelection(arr: Array<Props>){
         let nono = document.getElementById("nono");
-- 
GitLab