Skip to content

Commit

Permalink
Corrige la prise de ticket en mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
stakovicz committed Mar 16, 2024
1 parent 855a76d commit e3505f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/js/inscription.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ $(document).ready(function(){

var manageFieldSet = function (nbInscriptions) {
for (var i = 1; i < (nbMaxPersonnes - 1); i++) {
$('fieldset.tickets--fieldset').hide();
$('fieldset.tickets--fieldset').attr('style','display:none !important');
}

for (var i = 1; i < (nbInscriptions + 1); i++) {
$('fieldset.f' + i).show();
$('fieldset.f' + i).attr('style','display:block !important');
$('fieldset.f' + i).find('input[data-required=true]').attr('required', true);
if (typeof $('input[name="purchase[tickets][' + i +'][ticketType]"]:checked').val() === "undefined") {
$('fieldset.f' + i).find('ul.tickets--type-list input[type=radio]:not(:disabled):first').attr('checked', true);
Expand Down

0 comments on commit e3505f6

Please sign in to comment.