]> git.mxchange.org Git - friendica.git/commitdiff
forgot to move modernizr up. modernizr needs to be in <head>, like html5shiv (which...
authorSimon L'nu <simon.lnu@gmail.com>
Thu, 3 May 2012 18:35:21 +0000 (14:35 -0400)
committerSimon L'nu <simon.lnu@gmail.com>
Thu, 3 May 2012 18:35:21 +0000 (14:35 -0400)
Signed-off-by: Simon L'nu <simon.lnu@gmail.com>
view/theme/dispy/bottom.tpl
view/theme/dispy/theme.php

index 1af83e4c8c9d4dde52ced203c209255a54752f43..130bfb25ae4f3004d79a552ef80e1d3d386f4a2f 100644 (file)
@@ -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>
index 1598220b87c9084e517a52fbbe7f77e38c468db6..eb70732684770145654ad614fe595fb7185222cb 100644 (file)
@@ -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(