]> git.openstreetmap.org Git - rails.git/commitdiff
Removes DOM difference in location button
authorHolger Jeromin <mailgithub@katur.de>
Wed, 18 Oct 2017 13:05:11 +0000 (15:05 +0200)
committerGitHub <noreply@github.com>
Wed, 18 Oct 2017 13:05:11 +0000 (15:05 +0200)
app/assets/javascripts/user.js

index 44872a78c6f12c2432df5fa40f268406b0109c30..1c73d3430456e6016cb48c528a0d89ab1d870366 100644 (file)
@@ -28,6 +28,7 @@ $(document).ready(function () {
       .removeClass('leaflet-control-locate leaflet-bar')
       .addClass('control-locate')
       .children("a")
+      .attr('href', '#')
       .removeClass('leaflet-bar-part leaflet-bar-part-single')
       .addClass('control-button');