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:
Stefan Breunig 2013-02-28 22:03:12 +01:00
parent 9f044a5ff3
commit 573562dffd

View File

@ -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;