demarches-normaliennes/app/assets/javascripts/new_design/state_button.js

9 lines
209 B
JavaScript

TPS.showMotivation = function (state) {
$(".motivation." + state).show();
$(".dropdown-items").hide();
};
TPS.motivationCancel = function () {
$(".motivation").hide();
$(".dropdown-items").show();
};