[openstreetmap/openstreetmap-website] Various parts of website broken in older browsers, errors in console (#2124)

Simon Reinhardt notifications at github.com
Tue Jan 29 22:55:43 UTC 2019


A recent change seems to have introduced some problems with the website when using it with older browsers, like IE11. Features like searching, add note and query features don't work. Opening the browser console reveals some error messages:

```
Uncaught TypeError: n.findIndex is not a function
Uncaught TypeError: Cannot read property 'route' of undefined
Unrecognized Content-Security-Policy directive 'worker-src'.
jQuery.Deferred exception: n.findIndex is not a function TypeError: n.findIndex is not a function
```

It seems like commit 48e886784e742ec28e33c32b3a0e0bf7cf6d21e7 might be at least partly responsible for the errors seen in the console. According to https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex `findIndex` is not supported in IE11.

-- 
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/2124
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190129/0fb91323/attachment.html>


More information about the rails-dev mailing list