diff --git a/src/common-components/funnel-footer/funnel-footer.vue b/src/common-components/funnel-footer/funnel-footer.vue index d0bffc0b0..f17e2940d 100644 --- a/src/common-components/funnel-footer/funnel-footer.vue +++ b/src/common-components/funnel-footer/funnel-footer.vue @@ -92,21 +92,19 @@ export default { removeLoader() { this.$refs.buttonMain.removeLoader(); - // Restore keyboard input after loader is removed document.onkeydown = function (e) { return true; }; - // Reset the button clicked flags this.navigationButtonClicked = false; }, buttonClick() { - if (!this.navigationButtonClicked) { - // Prevent keyboard input after button click - document.onkeydown = function (e) { - return false; - }; + //prevent keyboard input after button click + document.onkeydown = function (e) { + return false; + }; + if (!this.navigationButtonClicked) { this.$emit("ForwardClicked"); this.forwardClicked = true; }