From d5964df47de25159c8591f1fbe86ce7801d75009 Mon Sep 17 00:00:00 2001 From: ulrich <undisclosed> Date: Wed, 21 Feb 2018 06:42:36 +0000 Subject: [PATCH] Code bereinigt, Sender-Template geaendert --- app.js | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/app.js b/app.js index 030e95e..7647533 100644 --- a/app.js +++ b/app.js @@ -84,14 +84,9 @@ */ var divs = $(".sender-kachel"); - var elem; - var pos; - var nm; if(suchbegriff.length > 0) { divs.each(function(index, element) { - nm = $(element).html(); - pos = nm.indexOf(suchbegriff); - if (pos < 0) { + if ($(element).html().indexOf(suchbegriff) < 0) { $(element).hide(); } else { $(element).show(); -- Gitblit v1.9.3