debian-mirror-gitlab/app/assets/javascripts/build_variables.js
2018-03-17 18:26:18 +05:30

10 lines
232 B
JavaScript

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