undo always using https for the portal image because some images are taken from panoramio which do not support https properly
This commit is contained in:
parent
9f044a5ff3
commit
573562dffd
@ -45,7 +45,7 @@ window.renderPortalDetails = function(guid) {
|
|||||||
|
|
||||||
setPortalIndicators(d);
|
setPortalIndicators(d);
|
||||||
var img = d.imageByUrl && d.imageByUrl.imageUrl
|
var img = d.imageByUrl && d.imageByUrl.imageUrl
|
||||||
? d.imageByUrl.imageUrl.replace(/^http:/, 'https:')
|
? d.imageByUrl.imageUrl
|
||||||
: DEFAULT_PORTAL_IMG;
|
: DEFAULT_PORTAL_IMG;
|
||||||
|
|
||||||
var lat = d.locationE6.latE6;
|
var lat = d.locationE6.latE6;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user