gitlab-org--gitlab-foss/app/assets/javascripts/build_variables.js
2018-03-09 15:18:09 -06:00

10 lines
230 B
JavaScript

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