[openstreetmap/openstreetmap-website] https://www.openstreetmap.org/id does not load something (#1518)

Bryan Housel notifications at github.com
Thu Apr 6 20:38:39 UTC 2017


That host tag comes from iD, [this line of code](https://github.com/openstreetmap/iD/blob/eb62e22a375aa0fa689befa9b1c3560dcbf1e8bf/modules/util/detect.js#L102)

You're right that `window.location` when embedded in an iframe is not the true location.  We could and maybe should use `window.top.location` instead when iD is embedded.  I'll open an ticket on the iD repo for discussion..

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1518#issuecomment-292310995
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170406/878aea15/attachment-0001.html>


More information about the rails-dev mailing list