diff --git a/app/assets/javascripts/templateFolderForm.js b/app/assets/javascripts/templateFolderForm.js
index c643b12fb..f81a9eabe 100644
--- a/app/assets/javascripts/templateFolderForm.js
+++ b/app/assets/javascripts/templateFolderForm.js
@@ -41,7 +41,7 @@
this.render();
}
- this.$form.on('click', 'button.button-secondary', (event) => this.actionButtonClicked(event));
+ this.$form.on('click', 'button.govuk-button--secondary', (event) => this.actionButtonClicked(event));
this.$form.on('change', 'input[type=checkbox]', () => this.templateFolderCheckboxChanged());
};
@@ -225,8 +225,8 @@
this.nothingSelectedButtons = $(`
@@ -114,7 +114,7 @@ function setFixtures (hierarchy) {
@@ -228,7 +228,7 @@ describe('TemplateFolderForm', () => {
};
describe("Before the page loads", () => {
-
+
// We need parts of the module to be made sticky, but by the module code,
// not the sticky JS code that operates on the HTML at page load.
// Because of this, they will need to be marked with classes
@@ -240,7 +240,7 @@ describe('TemplateFolderForm', () => {
expect(templateFolderForm.querySelectorAll('#add_new_template_form > .js-will-stick-at-bottom-when-scrolling').length).toEqual(2);
});
-
+
});
describe("When the page loads", () => {
@@ -578,11 +578,11 @@ describe('TemplateFolderForm', () => {
});
test("the content of the counter should reflect the selection", () => {
-
+
expect(visibleCounterText).toEqual('2 selected');
-
+
});
-
+
});
describe("Clicking the 'Move' button", () => {