mirror of
https://github.com/magicbug/Cloudlog
synced 2026-08-13 17:49:35 -04:00
Only init map on index page to prevent JS error
This commit is contained in:
parent
4e0d57c2f1
commit
c3eca478e9
1 changed files with 2 additions and 0 deletions
|
|
@ -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 } ?>
|
||||
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue