Only init map on index page to prevent JS error

这个提交包含在:
phl0 2023-07-14 07:56:59 +02:00
父节点 4e0d57c2f1
当前提交 c3eca478e9
找不到此签名对应的密钥
GPG 密钥 ID: 48EA1E640798CA9A

查看文件

@ -47,7 +47,9 @@
<?php } else { ?>
var grid = "No";
<?php } ?>
<?php if ($this->uri->segment(2) != "search" && $this->uri->segment(2) != "satellites") { ?>
initmap(grid);
<?php } ?>
});