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

10 lines
209 B
JavaScript
Raw Normal View History

TPS.showMotivation = function (state) {
$(".motivation." + state).show();
2017-08-30 17:28:58 +02:00
$(".dropdown-items").hide();
};
2017-08-30 17:28:58 +02:00
TPS.motivationCancel = function () {
$(".motivation").hide();
$(".dropdown-items").show();
};