Skip to content

Commit

Permalink
Merge pull request #81 from systopia/fix-typo
Browse files Browse the repository at this point in the history
Fix typo in disable-button-ajax.js
  • Loading branch information
dontub authored Nov 14, 2024
2 parents 99ee49e + eaa0bea commit b42245d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/disable-buttons-on-ajax.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
});

});
Expand Down

0 comments on commit b42245d

Please sign in to comment.