diff --git a/js/disable-buttons-on-ajax.js b/js/disable-buttons-on-ajax.js index f004e8e..228d58b 100644 --- a/js/disable-buttons-on-ajax.js +++ b/js/disable-buttons-on-ajax.js @@ -36,7 +36,7 @@ const buttons = document.querySelectorAll('input[data-ajax-disabled="true"]'); buttons.forEach((button) => { button.disabled = false; - buttom.removeAttribute('data-ajax-disabled'); + button.removeAttribute('data-ajax-disabled'); }); });