Permalink
Browse files

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

  • Loading branch information...
1 parent b0747c3 commit 843051c1b2bba89b21602614de19a40a667c6836 @tomhughes tomhughes committed Jan 18, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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");

0 comments on commit 843051c

Please sign in to comment.