Skip to content

Commit

Permalink
Revert "feat: disable button on click (#171)" (#176)
Browse files Browse the repository at this point in the history
This reverts commit c159a41.
  • Loading branch information
jonas-jonas authored Dec 21, 2023
1 parent 1692346 commit d701e4e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions src/assets/passwordInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,3 @@ document.getElementsByName("password").forEach((p) => {
})
}
})

document.querySelectorAll(`*[data-disable-on-click]`).forEach((p) => {
p.addEventListener("click", function () {
p.disabled = true
})
})
1 change: 0 additions & 1 deletion src/react-components/ory/user-logout-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ export const UserLogoutCard = ({
type="submit"
id="accept"
value="Yes"
data-disable-on-click
name="submit"
variant="semibold"
header={intl.formatMessage({
Expand Down

0 comments on commit d701e4e

Please sign in to comment.