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

Error while loading iD at https://www.openstreetmap.org/id #10592

Closed
Nekzuris opened this issue Dec 10, 2024 · 1 comment · Fixed by openstreetmap/openstreetmap-website#5394
Closed
Labels
bug A bug - let's fix this!

Comments

@Nekzuris
Copy link
Contributor

URL

https://www.openstreetmap.org/id

How to reproduce the issue?

Visit https://www.openstreetmap.org/id and open the console:
Firefox: TypeError: parent.$ is undefined
Chrome: TypeError: Cannot read properties of undefined (reading 'throttle')

I'm not sure if iD is intended to be used with this URL, but everything seems to work except for this.

I think it's because jQuery is loaded in the parent page at https://www.openstreetmap.org/edit

Screenshot(s) or anything else?

No response

Which deployed environments do you see the issue in?

No response

What version numbers does this issue effect?

2.30.4

Which browsers are you seeing this problem on?

Chrome, Firefox

@tyrasd
Copy link
Member

tyrasd commented Dec 10, 2024

I can confirm the error message, but the problem seems to originate from the integration code on the osm-website repo. Will look into it to provide a fix for it. Luckily the bug does not seem to hinder the functionality of iD on osm.org.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug - let's fix this!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants