refactor(js): make generic format controller

This commit is contained in:
Paul Chavard 2023-01-12 18:34:45 +01:00
parent bdd0ab0a22
commit 5f192f93e0
6 changed files with 35 additions and 25 deletions

View file

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