summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/build_variables.js
blob: 35edf3e001755416b972a85fe673f1a3ffadcb47 (plain)
1
2
3
4
5
6
7
8
9
10
/* eslint-disable func-names*/

export default function handleRevealVariables() {
  $('.js-reveal-variables')
    .off('click')
    .on('click', function () {
      $('.js-build-variables').toggle();
      $(this).hide();
    });
}