From f035cc2f895664c0d450fa2e7c6cc01433388ee9 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Thu, 6 Jan 2022 13:02:18 +0100 Subject: [PATCH] Remove reference code comment --- app/javascript/retrospring/features/settings/password.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/javascript/retrospring/features/settings/password.ts b/app/javascript/retrospring/features/settings/password.ts index 86be08c3..83d53265 100644 --- a/app/javascript/retrospring/features/settings/password.ts +++ b/app/javascript/retrospring/features/settings/password.ts @@ -1,11 +1,3 @@ -/* -# see GitHub issue #11 -($ document).on "submit", "form#edit_user", (evt) -> - if ($ "input#user_current_password").val().length == 0 - evt.preventDefault() - $("button[data-target=#modal-passwd]").trigger 'click' -*/ - export function userSubmitHandler(event: Event): void { if (document.querySelector('#user_current_password').value.length === 0) { event.preventDefault();