Retrospring/app/javascript/retrospring/features/settings/index.ts

9 lines
257 B
TypeScript

import registerEvents from "utilities/registerEvents";
import { userSubmitHandler } from "./password";
export default (): void => {
registerEvents([
{ type: 'submit', target: document.querySelector('#edit_user'), handler: userSubmitHandler }
]);
}