I get a `Uncaught TypeError: this.contentWindow is undefined` error every time
I regularly start an iD editing session. Is that expected? Would it not be
better to skip the check if everything is loaded correctly, maybe like this:
```js
if (this.contentWindow &&
!this.contentWindow.location.href.startsWith(idData.url)) {
```
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/commit/adb034d26e6f465d07c75a2fcfd3477c38539c4f#r155069344
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/commit/adb034d26e6f465d07c75a2fcfd3477c38539c4f/155069...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev