demarches-normaliennes/app/javascript/new_design/avis.js

9 lines
263 B
JavaScript

import { toggle } from '@utils';
export function toggleCondidentielExplanation() {
toggle(document.querySelector('.confidentiel-explanation'));
}
export function replaceSemicolonByComma(event) {
event.target.value = event.target.value.replace(/;/g, ',');
}