Rename 'email-branding-preview' CSS styles to 'branding-preview'

Renamed since the same styling will be used for previewing letters.
This commit is contained in:
Katie Smith
2019-02-13 08:40:52 +00:00
parent 8986e1db32
commit 83c10149bd
5 changed files with 6 additions and 6 deletions

View File

@@ -15,7 +15,7 @@
const $form = $('form');
const $previewPane = $('<iframe src="/_email?' +
buildQueryString(['branding_style', branding_style]) +
'" class="email-branding-preview"></iframe>');
'" class="branding-preview"></iframe>');
function buildQueryString () {
return $.map(arguments, (val, idx) => encodeURI(val[0]) + '=' + encodeURI(val[1])).join('&');