bing logo https
fix syntax to please Travis
This commit is contained in:
1 parent
4080e729df
commit
9247dc9f41
1 file changed
+2
-2
@@ -98,8 +98,8 @@ ol.source.BingMaps.prototype.handleImageryMetadataResponse =
|
||||
}
|
||||
|
||||
var brandLogoUri = response.brandLogoUri;
|
||||
if (ol.IS_HTTPS && brandLogoUri.indexOf("https")==-1){
|
||||
brandLogoUri = brandLogoUri.replace("http", "https");
|
||||
if (ol.IS_HTTPS && brandLogoUri.indexOf('https') == -1) {
|
||||
brandLogoUri = brandLogoUri.replace('http', 'https');
|
||||
}
|
||||
//var copyright = response.copyright; // FIXME do we need to display this?
|
||||
var resource = response.resourceSets[0].resources[0];
|
||||
|
||||
Reference in new issue
Block a user