]> git.openstreetmap.org Git - rails.git/commit
Position on notes correctly when a link to a comment is loaded
authorTom Hughes <tom@compton.nu>
Wed, 4 Dec 2013 08:41:56 +0000 (08:41 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 4 Dec 2013 08:41:56 +0000 (08:41 +0000)
commitb65ad205d17014744d43b8a6ac12fe0ab67e8fb0
tree00b747fbe34b2aaa65ba028fe8f9f550d0790b78
parentbdbc1d663d04075f45a87a4b78b0744a008d758c
Position on notes correctly when a link to a comment is loaded

Links to note comments in the RSS feed have a #id on the end to
position on the right comment, so don't let those hash strings
stop the map from panning to the note.

Fixes #603.
app/assets/javascripts/index/note.js.erb