mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-25 08:44:23 -04:00
Make window as global explicit in previewPane.js
This commit is contained in:
@@ -1,9 +1,8 @@
|
|||||||
(function () {
|
(function (global) {
|
||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
const root = this,
|
$ = global.jQuery;
|
||||||
$ = this.jQuery;
|
|
||||||
|
|
||||||
let branding_style = $('.multiple-choice input[name="branding_style"]:checked');
|
let branding_style = $('.multiple-choice input[name="branding_style"]:checked');
|
||||||
|
|
||||||
@@ -34,4 +33,4 @@
|
|||||||
$form.find('button[type="submit"]').text('Save');
|
$form.find('button[type="submit"]').text('Save');
|
||||||
|
|
||||||
$('fieldset').on('change', 'input[name="branding_style"]', setPreviewPane);
|
$('fieldset').on('change', 'input[name="branding_style"]', setPreviewPane);
|
||||||
})();
|
})(window);
|
||||||
|
|||||||
Reference in New Issue
Block a user