diff --git a/src/assets/passwordInput.js b/src/assets/passwordInput.js index 068cde920..8876870cc 100644 --- a/src/assets/passwordInput.js +++ b/src/assets/passwordInput.js @@ -26,9 +26,3 @@ document.getElementsByName("password").forEach((p) => { }) } }) - -document.querySelectorAll(`*[data-disable-on-click]`).forEach((p) => { - p.addEventListener("click", function () { - p.disabled = true - }) -}) diff --git a/src/react-components/ory/user-logout-card.tsx b/src/react-components/ory/user-logout-card.tsx index 8f90ff124..2c78f4a78 100644 --- a/src/react-components/ory/user-logout-card.tsx +++ b/src/react-components/ory/user-logout-card.tsx @@ -71,7 +71,6 @@ export const UserLogoutCard = ({ type="submit" id="accept" value="Yes" - data-disable-on-click name="submit" variant="semibold" header={intl.formatMessage({