Skip to content

Release 2105

Choose a tag to compare

@github-actions github-actions released this 18 Nov 12:20
3b1cd70

Context

We recently fixed some JavaScript that disables buttons so that a user can't submit a form multiple times.

However, pages don't reload fully when navigating back using the browser's back button, so the button remains disabled.

We can add an event listener for the "pageshow" event to re-enable the button when this happens.

Changes proposed in this pull request

  • Re-enable buttons when navigating to page with browser back button