From 843051c1b2bba89b21602614de19a40a667c6836 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 18 Jan 2013 13:50:37 +0000 Subject: [PATCH] Detach the permalink from the DOM so only one copy is shown --- app/assets/javascripts/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/index.js b/app/assets/javascripts/index.js index 5cf9c15ff..847c230b6 100644 --- a/app/assets/javascripts/index.js +++ b/app/assets/javascripts/index.js @@ -4,7 +4,7 @@ //= require index/key $(document).ready(function () { - var permalinks = $("#permalink").html(); + var permalinks = $("#permalink").detach().html(); var marker; var params = OSM.mapParams(); var map = createMap("map"); -- 2.39.5