diff --git a/app/assets/javascripts/highlightTags.js b/app/assets/javascripts/highlightTags.js index 896c83358..bc533d4b7 100644 --- a/app/assets/javascripts/highlightTags.js +++ b/app/assets/javascripts/highlightTags.js @@ -32,12 +32,20 @@ }; - this.resize = () => this.$textbox.height( - Math.max( - this.initialHeight, - this.$background.outerHeight() - ) - ); + this.resize = () => { + + this.$textbox.height( + Math.max( + this.initialHeight, + this.$background.outerHeight() + ) + ); + + if ('stickAtBottomWhenScrolling' in GOVUK) { + GOVUK.stickAtBottomWhenScrolling.recalculate(); + } + + }; this.escapedMessage = () => $('
').text(this.$textbox.val()).html(); diff --git a/app/templates/views/edit-email-template.html b/app/templates/views/edit-email-template.html index 695983d40..b9c220ab5 100644 --- a/app/templates/views/edit-email-template.html +++ b/app/templates/views/edit-email-template.html @@ -23,9 +23,11 @@ {% if current_user.platform_admin %} {{ radios(form.process_type) }} {% endif %} - {{ page_footer( - 'Save' - ) }} +