Skip to content

Commit

Permalink
Fix CSS selector of teaser image update
Browse files Browse the repository at this point in the history
The old selector didn't match any elements on the overview page anymore,
which broke the teaser image update.
  • Loading branch information
mstock committed Dec 30, 2022
1 parent 9817347 commit 2e17d91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/lustiges-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = $('<img />'),
Expand Down

0 comments on commit 2e17d91

Please sign in to comment.