Fix jobs spec
This commit is contained in:
parent
08f1ce90fa
commit
7fe9102a74
3 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@ export default function handleRevealVariables() {
|
|||
$('.js-reveal-variables')
|
||||
.off('click')
|
||||
.on('click', function click() {
|
||||
$('.js-build-variables').toggle('hide');
|
||||
$('.js-build-variables').toggle();
|
||||
$(this).hide();
|
||||
});
|
||||
}
|
||||
|
|
|
@ -56,7 +56,7 @@ export default {
|
|||
actions.push({
|
||||
label: 'New issue',
|
||||
path: this.job.new_issue_path,
|
||||
cssClass: 'js-new-issue btn btn-new btn-inverted d-block d-lg-none d-xl-none',
|
||||
cssClass: 'js-new-issue btn btn-new btn-inverted d-none d-md-block d-lg-block d-xl-block',
|
||||
type: 'link',
|
||||
});
|
||||
}
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
|
||||
- if @build.trigger_variables.any?
|
||||
%p
|
||||
%button.btn.group.btn-group.d-flex.js-reveal-variables Reveal Variables
|
||||
%button.btn.group.btn-group.js-reveal-variables Reveal Variables
|
||||
|
||||
%dl.js-build-variables.trigger-build-variables.hide
|
||||
- @build.trigger_variables.each do |trigger_variable|
|
||||
|
|
Loading…
Reference in a new issue