diff --git a/src/digital-components/button-question/button-question.vue b/src/digital-components/button-question/button-question.vue index a344286ef..12586283d 100644 --- a/src/digital-components/button-question/button-question.vue +++ b/src/digital-components/button-question/button-question.vue @@ -72,7 +72,7 @@ https://safelite.atlassian.net/wiki/spaces/DC/pages/76644418/Button+Question+Com -
+
{ - window.addEventListener("resize", this.onResize); - }); - }, - beforeUnmount() { - window.removeEventListener("resize", this.onResize); - }, + unmounted() { document.onkeydown = null; }, @@ -72,10 +63,7 @@ export default { : this.getCmsContent(this.cmsWidgetName, "ForwardButtonText"); }, }, - methods: { - onResize() { - this.paddingHeight = this.getFooterInfoBoxHeight(); - }, + methods: { updateButtonText(newText) { this.customButtontext = newText; }, diff --git a/src/layouts/estimate/estimate.vue b/src/layouts/estimate/estimate.vue index 0665ffaa9..846b54968 100644 --- a/src/layouts/estimate/estimate.vue +++ b/src/layouts/estimate/estimate.vue @@ -12,7 +12,6 @@ cmsWidgetName="AlertVinLookupQuestion" alertClass="" /> diff --git a/src/layouts/quote/quote.vue b/src/layouts/quote/quote.vue index 06b8ecb9a..38123535e 100644 --- a/src/layouts/quote/quote.vue +++ b/src/layouts/quote/quote.vue @@ -235,3 +235,8 @@ export default { }, }; +