fix(kasse-neu): schliessende Klammer stand hinter dem Kommentar -- Syntaxfehler, Bestellen-Knopf ohne Handler
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user