Code bereinigt, Sender-Template geaendert
| | |
| | | */ |
| | | |
| | | 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(); |
| | |
| | | <div id="sender" class="sender"> |
| | | {{#senderliste}} |
| | | {{#inhalt}} |
| | | <div class="sender-kachel" sid="{{senderid}}" data-verweis="{{senderurl}}" |
| | | sender-name="{{sendername}}"> |
| | | <div class="sender-kachel" sid="{{senderid}}" data-verweis="{{senderurl}}"> |
| | | <div class="sender-name">{{sendername}}</div> |
| | | <div class="sender-bild-behaelter"> |
| | | <img class="sender-bild" src="{{senderlogo}}"> |