debian-mirror-gitlab/app/assets/javascripts/build_variables.js
2018-05-09 12:01:36 +05:30

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();
});
}