FIX increased delay for save button reactivation from 3000ms to 10000ms
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Antoine M 2025-04-07 15:37:56 +02:00
parent f3c6b39607
commit c41431592b

View File

@ -94,10 +94,6 @@ add_action('edit_form_after_title', function () {
<span class="spinner"></span> <span class="spinner"></span>
</div> </div>
</div> </div>
<script> <script>
jQuery(function($) { jQuery(function($) {
@ -119,7 +115,7 @@ add_action('edit_form_after_title', function () {
$button.prop('disabled', false).text('Sauvegarder'); $button.prop('disabled', false).text('Sauvegarder');
$spinner.hide(); $spinner.hide();
$spinner.removeClass('is-active'); $spinner.removeClass('is-active');
}, 3000); }, 10000);
}); });
}); });
</script> </script>