Skip to content

Commit

Permalink
ブラウザのバックボタンで戻ったときに、選択項目と表示URLが異なる不具合に対処
Browse files Browse the repository at this point in the history
  • Loading branch information
naokinaokiboo committed Mar 22, 2024
1 parent f8e8163 commit f8ebbf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/invitation-url-updater.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ document.addEventListener('DOMContentLoaded', async () => {
invitationElement.addEventListener('change', updateInvitationURL)
})

await updateInvitationURL()
window.addEventListener('pageshow', updateInvitationURL)
})

0 comments on commit f8ebbf7

Please sign in to comment.