forgot to move modernizr up. modernizr needs to be in <head>, like html5shiv (which it includes)

Signed-off-by: Simon L'nu <simon.lnu@gmail.com>
This commit is contained in:
Simon L'nu 2012-05-03 14:35:21 -04:00
parent 1a13c56fef
commit bb081e4bf5
2 changed files with 3 additions and 1 deletions

View file

@ -44,4 +44,3 @@ function cmtBbOpen(id) {
$(".comment-edit-bb-" + id).show(); $(".comment-edit-bb-" + id).show();
} }
</script> </script>
<script type="text/javascript" src="$baseurl/view/theme/dispy/js/modernizr.custom.2.5.3.min.js"></script>

View file

@ -22,6 +22,8 @@ function dispy_init(&$a) {
$cssFile = null; $cssFile = null;
$colour = false; $colour = false;
$colour = get_pconfig(local_user(), "dispy", "colour"); $colour = get_pconfig(local_user(), "dispy", "colour");
$baseurl = $a->get_baseurl($ssl_state);
if ($colour === false) { $colour = "light"; } if ($colour === false) { $colour = "light"; }
if ($colour == "light") { if ($colour == "light") {
$colour_path = "/light/"; $colour_path = "/light/";
@ -39,6 +41,7 @@ function dispy_init(&$a) {
} }
$a->page['htmlhead'] .= <<<EOT $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"> <script type="text/javascript">
$(document).ready(function() { $(document).ready(function() {
$('.group-edit-icon').hover( $('.group-edit-icon').hover(