diff options
Diffstat (limited to 'view/theme/dispy')
-rw-r--r-- | view/theme/dispy/bottom.tpl | 1 | ||||
-rw-r--r-- | view/theme/dispy/theme.php | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/view/theme/dispy/bottom.tpl b/view/theme/dispy/bottom.tpl index 1af83e4c8..130bfb25a 100644 --- a/view/theme/dispy/bottom.tpl +++ b/view/theme/dispy/bottom.tpl @@ -44,4 +44,3 @@ function cmtBbOpen(id) { $(".comment-edit-bb-" + id).show(); } </script> -<script type="text/javascript" src="$baseurl/view/theme/dispy/js/modernizr.custom.2.5.3.min.js"></script> diff --git a/view/theme/dispy/theme.php b/view/theme/dispy/theme.php index 1598220b8..eb7073268 100644 --- a/view/theme/dispy/theme.php +++ b/view/theme/dispy/theme.php @@ -22,6 +22,8 @@ function dispy_init(&$a) { $cssFile = null; $colour = false; $colour = get_pconfig(local_user(), "dispy", "colour"); + $baseurl = $a->get_baseurl($ssl_state); + if ($colour === false) { $colour = "light"; } if ($colour == "light") { $colour_path = "/light/"; @@ -39,6 +41,7 @@ function dispy_init(&$a) { } $a->page['htmlhead'] .= <<<EOT + <script type="text/javascript" src="$baseurl/view/theme/dispy/js/modernizr.custom.2.5.3.min.js"></script> <script type="text/javascript"> $(document).ready(function() { $('.group-edit-icon').hover( |