demarches-normaliennes/app/javascript/new_design/fc-fusion.js

13 lines
431 B
JavaScript

import { show, hide } from '@utils';
export function showFusion() {
show(document.querySelector('.fusion'));
hide(document.querySelector('.new-account'));
hide(document.querySelector('#new-account-password-confirmation'));
}
export function showNewAccount() {
hide(document.querySelector('.fusion'));
show(document.querySelector('.new-account'));
hide(document.querySelector('#new-account-password-confirmation'));
}