Detach the permalink from the DOM so only one copy is shown

This commit is contained in:
Tom Hughes 2013-01-18 13:50:37 +00:00
parent b0747c3c1e
commit 843051c1b2

View file

@ -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");