Load MS Virtual Earth javascript over https when browsing in https
This commit is contained in:
parent
bc6a61dc89
commit
9f9126e524
@ -125,7 +125,7 @@ class MapstractionPlugin extends Plugin
|
||||
urlencode($this->apikey)));
|
||||
break;
|
||||
case 'microsoft':
|
||||
$action->script('http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6');
|
||||
$action->script((StatusNet::isHTTPS()?'https':'http') + '://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6');
|
||||
break;
|
||||
case 'openlayers':
|
||||
// XXX: is this not nice...?
|
||||
|
Loading…
Reference in New Issue
Block a user