mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-03 23:51:22 -04:00
Merge pull request #3106 from alphagov/add-js-tests-for-preview-pane
Add js tests for preview pane
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
(function () {
|
||||
(function (global) {
|
||||
|
||||
'use strict';
|
||||
|
||||
const root = this,
|
||||
$ = this.jQuery;
|
||||
$ = global.jQuery;
|
||||
|
||||
let branding_style = $('.multiple-choice input[name="branding_style"]:checked');
|
||||
|
||||
@@ -34,4 +33,4 @@
|
||||
$form.find('button[type="submit"]').text('Save');
|
||||
|
||||
$('fieldset').on('change', 'input[name="branding_style"]', setPreviewPane);
|
||||
})();
|
||||
})(window);
|
||||
|
||||
Reference in New Issue
Block a user