Merge pull request #331 from Safelite/feature/CSR-478

CSR-478 reset keydown after navigation
This commit is contained in:
CarlNation 2022-04-11 13:40:00 -04:00 committed by GitHub
commit 5abde8d3ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);