set key later

This commit is contained in:
j 2017-10-26 12:49:57 +02:00
parent 4d7c675d29
commit bf88243423

View File

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