summaryrefslogtreecommitdiff
path: root/sidebar.php
diff options
context:
space:
mode:
authorBrian Holland <windmillway2@gmail.com>2010-11-01 14:53:29 +0000
committerBrian Holland <windmillway2@gmail.com>2010-11-01 14:53:29 +0000
commitaabba12df59845c0375323003577b270c38cadaa (patch)
tree6c3a93c61f72d6772345b152ebbaedfc109c454f /sidebar.php
parent3ac4257e29a2351d6b2f7d2766404b0dd21f4264 (diff)
downloadwebtrees-aabba12df59845c0375323003577b270c38cadaa.tar.gz
webtrees-aabba12df59845c0375323003577b270c38cadaa.tar.bz2
webtrees-aabba12df59845c0375323003577b270c38cadaa.zip
Fix sidebar not appearing when googlemap tab is disabled
Diffstat (limited to 'sidebar.php')
-rw-r--r--sidebar.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/sidebar.php b/sidebar.php
index bf356b023d..0bd5121209 100644
--- a/sidebar.php
+++ b/sidebar.php
@@ -127,6 +127,7 @@ if (isset($controller)) {
// 'open' = Sidebar initially open, [default] + normally auto pinned
// 'closed' = Sidebar initially closed, + normally auto unpinned
$sidebar_state = 'open';
+global $GOOGLEMAP_MAP_TYPE;
echo '<script type="text/javascript" src="js/jquery/jquery.scrollfollow.js"></script>';
echo WT_JS_START;