CSR-478 reset keydown after navigation
This commit is contained in:
parent
b6966aade0
commit
710898a3fe
1 changed files with 2 additions and 0 deletions
|
|
@ -34,6 +34,8 @@ const routes = [
|
||||||
path: "/",
|
path: "/",
|
||||||
name: "root",
|
name: "root",
|
||||||
async beforeEnter(to, from, next) {
|
async beforeEnter(to, from, next) {
|
||||||
|
document.onkeydown = null;
|
||||||
|
|
||||||
// If we have no query string, or we don't have the FmgPage query string.
|
// If we have no query string, or we don't have the FmgPage query string.
|
||||||
if (to.query.fmgPage === undefined) {
|
if (to.query.fmgPage === undefined) {
|
||||||
await GoToFunnelStartOn404(next);
|
await GoToFunnelStartOn404(next);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue