From 2e17d91324d1f01c59e1f15b29a186ada4ddcff5 Mon Sep 17 00:00:00 2001 From: Manfred Stock Date: Thu, 29 Dec 2022 15:21:36 +0100 Subject: [PATCH] Fix CSS selector of teaser image update The old selector didn't match any elements on the overview page anymore, which broke the teaser image update. --- assets/js/lustiges-script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/lustiges-script.js b/assets/js/lustiges-script.js index 54deb21d..288404d5 100644 --- a/assets/js/lustiges-script.js +++ b/assets/js/lustiges-script.js @@ -302,7 +302,7 @@ $(function() { // update teaser images $(function() { setInterval(function() { - $('.rooms .lecture .teaser').each(function() { + $('.room.has-preview .preview').each(function() { var $teaser = $(this), $preload = $(''),