diff --git a/app/assets/javascripts/templateFolderForm.js b/app/assets/javascripts/templateFolderForm.js index dfef5a144..f2b54d864 100644 --- a/app/assets/javascripts/templateFolderForm.js +++ b/app/assets/javascripts/templateFolderForm.js @@ -82,7 +82,7 @@ this.render(); } - this.$form.on('click', 'button.usa-button', (event) => this.actionButtonClicked(event)); + this.$form.on('click', 'button.usa-button--event', (event) => this.actionButtonClicked(event)); this.$form.on('change', 'input[type=checkbox]', () => this.templateFolderCheckboxChanged()); }; @@ -91,7 +91,7 @@ $.each(this.states.filter(state => 'description' in state), (idx, state) => { id = `${state.key}__description`; - description = `

${state.description}

`; + description = `

${state.description}

`; state.$el .prepend(description) .attr('aria-describedby', id); @@ -149,7 +149,7 @@ this.makeButton = (text, opts) => { let $btn = $('') .html(text) - .addClass('usa-link font-body-sm margin-left-1 js-cancel') + .addClass('usa-link js-cancel') // isn't set if cancelSelector is undefined .data('target', opts.cancelSelector || undefined) .attr('tabindex', '0') @@ -162,7 +162,7 @@ }); if (opts.hasOwnProperty('nonvisualText')) { - $btn.append(` ${opts.nonvisualText}`); + $btn.append(` ${opts.nonvisualText}`); } return $btn; @@ -299,10 +299,10 @@ this.nothingSelectedButtons = $(`
- - +