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