diff --git a/static/js/pandora.js b/static/js/pandora.js index abcffe49..668ec3fa 100644 --- a/static/js/pandora.js +++ b/static/js/pandora.js @@ -251,7 +251,6 @@ appPanel }, function() { pandora.site.site.videoprefix = url; }); - Ox.Map.GoogleApiKey = pandora.site.site.googleapikey; } }); } @@ -414,6 +413,8 @@ appPanel videoFormat: Ox.getVideoFormat(pandora.site.video.formats) }); + Ox.Map.GoogleApiKey = pandora.site.site.googleapikey; + // set locale and initialize url controller // data.locale is prefered language according to http header //pandora.setLocale(pandora.user.ui.locale || data.locale, function() {