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 Feb 25, 2023
1 parent a892cd5 commit b416469
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 b416469

Please sign in to comment.