2018-03-09 20:18:59 +00:00
|
|
|
import $ from 'jquery';
|
2016-12-14 03:01:05 +00:00
|
|
|
|
2017-10-10 11:06:42 +00:00
|
|
|
export default function handleRevealVariables() {
|
|
|
|
$('.js-reveal-variables')
|
|
|
|
.off('click')
|
2018-03-09 20:18:59 +00:00
|
|
|
.on('click', function click() {
|
2017-10-10 11:06:42 +00:00
|
|
|
$('.js-build-variables').toggle();
|
|
|
|
$(this).hide();
|
|
|
|
});
|
|
|
|
}
|