Preserve protocol in standard links
This commit is contained in:
parent
77fee91785
commit
b170c06d5c
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ L.OSM.Map = L.Map.extend({
|
|||
params.mlon = latLng.lng.toFixed(precision);
|
||||
}
|
||||
|
||||
var url = 'http://' + OSM.SERVER_URL + '/',
|
||||
var url = window.location.protocol + '://' + OSM.SERVER_URL + '/',
|
||||
query = querystring.stringify(params),
|
||||
hash = OSM.formatHash(this);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue