Correction pour URL des cartes

This commit is contained in:
echarp 2014-12-13 12:32:05 +01:00
parent abb881405d
commit 1ff64849eb

View File

@ -37,7 +37,7 @@ $(document).ready ->
).addTo map ).addTo map
url = $(this).data 'url' url = $(this).data 'url'
if location.search && url.indexOf '?' if location.search && url.indexOf('?') >= 0
url += '&' + location.search.substr 1 url += '&' + location.search.substr 1
else else
url += location.search url += location.search