1$(document).ready(function () { 2 //Botón de reservar del móvil 3 if ($('.mobile-book-container__btn').length > 0) { 4 5 $('.mobile-book-container__btn').on('click', function () { 6 $('.neobookings-mask-container').addClass('open'); 7 $('body').addClass('no-scroll'); 8 }); 9 10 $('.close-neobookings-form').on('click', function () { 11 $('.neobookings-mask-container').removeClass('open'); 12 $('body').removeClass('no-scroll'); 13 }); 14 } 15 16 // EnvÃo del formulario 17 $("#neobookings-form").on("submit", function () { 18 19 //valores por defecto de los calendarios 20 calendar.setDefaultValue(); 21 22 //Configuramos los huéspedes elegido 23 var form = $(this); 24 form.append($("#adults").clone()); 25 26 if (parseInt($("#children").val()) !== 0) { 27 $(".input-ages").each(function () { 28 form.append($(this).clone()); 29 }); 30 form.append($("#children").clone()); 31 } 32 33 if (parseInt($("#baby").val()) !== 0) { 34 form.append($("#baby").clone()); 35 } 36 }); 37});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.