change to google.cn
This commit is contained in:
parent
07dd77ef62
commit
615d11c6e6
|
@ -409,7 +409,7 @@ function loadMaps() {
|
|||
|
||||
function initLoader() {
|
||||
var script = document.createElement("script");
|
||||
script.src = "https://www.google.com/jsapi?key=<?php echo $this->config->google->maps->api; ?>&callback=loadMaps";
|
||||
script.src = "http://www.google.cn/jsapi?key=<?php echo $this->config->google->maps->api; ?>&callback=loadMaps";
|
||||
script.type = "text/javascript";
|
||||
document.getElementsByTagName("head")[0].appendChild(script);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue