Merge pull request #748 from Binnette/remove-protocol-from-iframe-code
Remove protocol from iframe src url
This commit is contained in:
commit
89ba015746
1 changed files with 1 additions and 1 deletions
|
@ -1033,7 +1033,7 @@ L.U.IframeExporter = L.Evented.extend({
|
|||
|
||||
initialize: function (map) {
|
||||
this.map = map;
|
||||
this.baseUrl = window.location.protocol + '//' + window.location.host + window.location.pathname;
|
||||
this.baseUrl = '//' + window.location.host + window.location.pathname;
|
||||
// Use map default, not generic default
|
||||
this.queryString.onLoadPanel = this.map.options.onLoadPanel;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue