projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0747c3
)
Detach the permalink from the DOM so only one copy is shown
author
Tom Hughes
<tom@compton.nu>
Fri, 18 Jan 2013 13:50:37 +0000
(13:50 +0000)
committer
Tom Hughes
<tom@compton.nu>
Fri, 18 Jan 2013 13:50:37 +0000
(13:50 +0000)
app/assets/javascripts/index.js
patch
|
blob
|
history
diff --git
a/app/assets/javascripts/index.js
b/app/assets/javascripts/index.js
index 5cf9c15ff0311a7d5763a72f95f160624125341a..847c230b6e77ed3fc44d07fe917f3dedd3f26dcc 100644
(file)
--- 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");