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

10 lines
207 B
JavaScript
Raw Normal View History

2018-02-28 16:07:52 +01:00
DS.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
2018-02-28 16:07:52 +01:00
DS.motivationCancel = function () {
2017-08-30 17:28:58 +02:00
$(".motivation").hide();
$(".dropdown-items").show();
};