Removes DOM difference in location button (main map)
authorHolger Jeromin <mailgithub@katur.de>
Wed, 18 Oct 2017 17:51:05 +0000 (19:51 +0200)
committerGitHub <noreply@github.com>
Wed, 18 Oct 2017 17:51:05 +0000 (19:51 +0200)
app/assets/javascripts/index.js

index b30564a1ae64b12ee3c7a98aff01b1c131da8c26..00e6a9d32a0d815b05676e0428540fc6a82ac16a 100644 (file)
@@ -114,6 +114,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');