demarches-normaliennes/app/javascript/new_design/state-button.js
2018-07-25 15:14:06 +02:00

9 lines
207 B
JavaScript

export function showMotivation(state) {
$(`.motivation.${state}`).show();
$('.dropdown-items').hide();
}
export function motivationCancel() {
$('.motivation').hide();
$('.dropdown-items').show();
}