diff --git a/resources/js/app.js b/resources/js/app.js index 1549c0b..46ff3a0 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -33,7 +33,7 @@ const changeIcon = $('.marque') const dropDownMarque = $('.marque-select') // FancyBox Communes -// Confirmation +// Confirmation $.fancyConfirm = function( opts ) { opts = $.extend( true, { title : 'Are you sure?', @@ -42,7 +42,7 @@ $.fancyConfirm = function( opts ) { noButton : 'Cancel', callback : $.noop }, opts || {} ); - + $.fancybox.open({ type : 'html', src : @@ -68,7 +68,7 @@ $.fancyConfirm = function( opts ) { afterClose : function( instance, current, e ) { var button = e ? e.target || e.currentTarget : null; var value = button ? $(button).data('value') : 0; - + opts.callback( value ); } } @@ -84,7 +84,7 @@ $.fancyConfirm = function( opts ) { noButton : 'Cancel', callback : $.noop }, opts || {} ); - + $.fancybox.open({ type : 'html', src : @@ -92,7 +92,7 @@ $.fancyConfirm = function( opts ) { '
' + opts.message + '
' + '' + - '' + opts.noButton + '' + + '' + opts.noButton + '' + '' + '
' + '', @@ -226,7 +226,7 @@ $(document).ready(function(){ $('.addcalendar').on('click', function(event){ event.preventDefault(); - $('.calendar').append('