image handling update for route creation
Sonarqube Scanner / Build and analyze (push) Failing after 20s

This commit is contained in:
Florian Zumpe
2026-09-27 21:50:52 +02:00
parent 4b8105188f
commit 7f6d0425d5
16 changed files with 831 additions and 182 deletions
+1 -1
View File
@@ -41,7 +41,7 @@
const image = images[index];
$('#slide-image')
.attr('src', mediaUrl(image.url))
.attr('alt', image.caption || 'Bild zur Station')
.attr('alt', image.caption || 'Bild zum Streckenpunkt')
.off('error.wegwichtel')
.on('error.wegwichtel', function () {
$(this).removeAttr('src').attr('alt', 'Bild konnte nicht geladen werden');