]> git.openstreetmap.org Git - rails.git/commit
Fix highlight of changesets with no bounding box
authorTom Hughes <tom@compton.nu>
Sat, 29 Feb 2020 17:43:19 +0000 (17:43 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 29 Feb 2020 17:43:19 +0000 (17:43 +0000)
commit0f3856fd1c83e4cd92e34b18e047878505888051
treebe593a33476fb29dc70cf7afae4ddebe599dc222
parentaaf9d15d5679f97447be0a09790aa63fef0b9022
Fix highlight of changesets with no bounding box

A changeset with no bounding box has no map layer so trying to
set it's style throws an exception which means we don't get to
the code to set the style on the list entry.

Fixes #2541
app/assets/javascripts/index/history.js