summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/build_variables.js
blob: d398e4a4c83230c319570f33e0c62bc62fd963ea (plain)
1
2
3
4
5
6
7
8
9
10
import $ from 'jquery';

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