Correction pour URL des cartes

This commit is contained in:
echarp 2014-12-13 12:32:05 +01:00
parent abb881405d
commit 1ff64849eb
1 changed files with 1 additions and 1 deletions

View File

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