diff options
author | Craig Andrews <candrews@integralblue.com> | 2010-10-27 00:09:43 -0400 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2010-10-27 00:09:43 -0400 |
commit | 9f9126e5245173b06719638e434b19f6973661b4 (patch) | |
tree | 47208d8224c0456210be492de8b640b42e5114d3 /plugins | |
parent | bc6a61dc89a2af2e874f83d1e876d0d0b65b4e26 (diff) |
Load MS Virtual Earth javascript over https when browsing in https
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Mapstraction/MapstractionPlugin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Mapstraction/MapstractionPlugin.php b/plugins/Mapstraction/MapstractionPlugin.php index c4ba6464e..08465e0a7 100644 --- a/plugins/Mapstraction/MapstractionPlugin.php +++ b/plugins/Mapstraction/MapstractionPlugin.php @@ -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...? |