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

10 lines
263 B
JavaScript
Raw Normal View History

2018-10-10 14:53:59 +02:00
import { toggle } from '@utils';
2018-08-09 11:53:59 +02:00
export function toggleCondidentielExplanation() {
2018-10-10 14:53:59 +02:00
toggle(document.querySelector('.confidentiel-explanation'));
}
export function replaceSemicolonByComma(event) {
event.target.value = event.target.value.replace(/;/g, ',');
}