Remove reference code comment
This commit is contained in:
parent
6dcb5a2afb
commit
f035cc2f89
|
@ -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 {
|
export function userSubmitHandler(event: Event): void {
|
||||||
if (document.querySelector<HTMLInputElement>('#user_current_password').value.length === 0) {
|
if (document.querySelector<HTMLInputElement>('#user_current_password').value.length === 0) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
Loading…
Reference in New Issue