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

jQuery being loaded twice #17

Open
mvl22 opened this issue Nov 14, 2014 · 0 comments
Open

jQuery being loaded twice #17

mvl22 opened this issue Nov 14, 2014 · 0 comments

Comments

@mvl22
Copy link
Member

mvl22 commented Nov 14, 2014

jQuery is currently being loaded twice on the page, once by the template, and once by the logic.

It should be loaded only once, either by:

  • Detecting whether the particular template in use has already loaded it; or
  • By using .noConflict(); note that the method used for CycleStreets.net seems to be best-practice and works well.
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