fix(kasse-neu): schliessende Klammer stand hinter dem Kommentar -- Syntaxfehler, Bestellen-Knopf ohne Handler

This commit is contained in:
Thomas Bartelt
2026-09-26 23:51:42 +02:00
parent def156e1c2
commit 30c81cae9c
@@ -546,7 +546,10 @@ $(document).ready(function() {
if (fehler.length) {
$box.html('<strong>Bitte noch ausfüllen:</strong> ' + fehler.join(', ')).removeAttr('hidden').show();
var $first = $('.ck .ck-invalid').first();
if ($first.length) { $('html, body').animate({ scrollTop: $first.offset().top - 90 }, 250); $first.find('input,select').add($first.filter('input,select')).first().focus(); // kein .addBack() in jQuery 1.6 }
if ($first.length) {
$('html, body').animate({ scrollTop: $first.offset().top - 90 }, 250);
$first.find('input,select').add($first.filter('input,select')).first().focus(); // kein .addBack() in jQuery 1.6
}
return false;
}
$box.attr('hidden', 'hidden').hide();