mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-25 19:42:30 +00:00
Only init map on index page to prevent JS error
This commit is contained in:
@@ -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 } ?>
|
||||
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user