gitlab-org--gitlab-foss/app/assets/javascripts/build_variables.js
2018-04-24 15:16:07 -05: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();
});
}