This website uses cookies to improve your experience. If you continue to use this site, you agree with it.
jQuery(document).ready(function($) {
// Target the comment submission form
$('#commentform').on('submit', function() {
var $submitButton = $(this).find('input[type="submit"], button[type="submit"]');
// Disable the button instantly to block double-clicks
$submitButton.prop('disabled', true);
// Optional: change the cursor to show it is processing
$submitButton.css('cursor', 'not-allowed');
});
});