diff --git a/src/common-components/funnel-footer/funnel-footer.vue b/src/common-components/funnel-footer/funnel-footer.vue index 90c380b08..05c184b5c 100644 --- a/src/common-components/funnel-footer/funnel-footer.vue +++ b/src/common-components/funnel-footer/funnel-footer.vue @@ -65,6 +65,9 @@ export default { this.$nextTick(() => { window.addEventListener('resize', this.onResize); }) + setTimeout(function(){ // Give it a moment to set the date + document.getElementById('years').innerHTML += new Date().getFullYear(); + }, 100); }, beforeUnmount() { window.removeEventListener('resize', this.onResize); @@ -75,7 +78,4 @@ export default { } } }; -setTimeout(function(){ // Give it a moment to set the date - document.getElementById('years').innerHTML += new Date().getFullYear(); -}, 100);