debian-mirror-gitlab/app/assets/javascripts/build_variables.js

11 lines
230 B
JavaScript
Raw Normal View History

2018-05-09 12:01:36 +05:30
import $ from 'jquery';
2017-08-17 22:00:37 +05:30
2018-03-17 18:26:18 +05:30
export default function handleRevealVariables() {
$('.js-reveal-variables')
.off('click')
2018-05-09 12:01:36 +05:30
.on('click', function click() {
2018-03-17 18:26:18 +05:30
$('.js-build-variables').toggle();
$(this).hide();
});
}