Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught SyntaxError: Identifier 'tour' has already been declared #26

Closed
jabbett opened this issue Oct 18, 2019 · 0 comments
Closed

Uncaught SyntaxError: Identifier 'tour' has already been declared #26

jabbett opened this issue Oct 18, 2019 · 0 comments
Assignees

Comments

@jabbett
Copy link
Contributor

jabbett commented Oct 18, 2019

In v2, I switched from "var" to "const" to define the tour object.

When you navigate between tour-enabled pages with Turbolinks, you'll get the JS error:

Uncaught SyntaxError: Identifier 'tour' has already been declared

We need to fix this for Turbolinks users.

@jabbett jabbett self-assigned this Oct 18, 2019
jabbett pushed a commit that referenced this issue Oct 18, 2019
Resolves #26, a bug for Turbolinks users
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant