Fix lightbox on home page

This commit is contained in:
Wesley Moore 2010-08-18 20:55:19 +10:00
parent b98a36817c
commit 46ae61c82b
3 changed files with 8 additions and 4 deletions

View file

@ -45,5 +45,6 @@ base_url: 'http://www.wezm.net'
deploy:
default:
dst: "wezm@www.wezm.net:www"
options: [ '-rlpgoDvz', '--delete', '--exclude=".svn"' ]
#options: [ '-rlpgoDvz', '--delete', '--exclude=".svn"' ]
options: [ '-avz', '--delete', '--exclude=".svn"' ]

View file

@ -2,6 +2,12 @@
<html>
<head>
<%= render '_head' %>
<script type="text/javascript">
jQuery(function() {
// Enable light box
$("a[rel^='prettyPhoto']").prettyPhoto({theme: "facebook"});
});
</script>
</head>
<body<%= %Q( class="#{@item[:body_class]}") if @item[:body_class] %>>
<%= render '_header' %>

View file

@ -44,7 +44,4 @@ jQuery(function() {
input.val('');
}
$('#search').show();
// Enable light box
$("a[rel^='prettyPhoto']").prettyPhoto({theme: "facebook"});
});