From 4a75ea2f42c44318fa018a0753c54e0a7ce42188 Mon Sep 17 00:00:00 2001 From: Simon L'nu Date: Wed, 28 Mar 2012 06:47:38 -0400 Subject: [PATCH] really fix it this time... Signed-off-by: Simon L'nu --- view/theme/dispy-dark/theme.php | 8 ++------ view/theme/dispy/theme.php | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/view/theme/dispy-dark/theme.php b/view/theme/dispy-dark/theme.php index f06a97a5f1..cebe9eb4fc 100644 --- a/view/theme/dispy-dark/theme.php +++ b/view/theme/dispy-dark/theme.php @@ -91,13 +91,13 @@ $(document).ready(function() { $('.floaterflip').css({ backgroundPosition: '-210px -60px' }); - $('.search-box').slideDown('fast'); + $('.search-box').slideUp('fast'); } else { $('#nav-floater').slideDown('fast'); $('.floaterflip').css({ backgroundPosition: '-190px -60px' }); - $('.search-box').slideUp('fast'); + $('.search-box').slideDown('fast'); } }; // our trigger for the toolbar button @@ -156,10 +156,6 @@ function dispydark_community_info() { $a->page['aside_bottom'] = replace_macros($tpl, $aside); } -// use our 'default.php' instead of the system-wide one -$theme_name = 'dispy-dark'; -//$a->page['template'] = "theme/dispy-dark/default"; - // aside on profile page if ($a->argv[0] === "profile") { dispydark_community_info(); diff --git a/view/theme/dispy/theme.php b/view/theme/dispy/theme.php index 15e54f7e21..9789fd0fa3 100644 --- a/view/theme/dispy/theme.php +++ b/view/theme/dispy/theme.php @@ -91,13 +91,13 @@ $(document).ready(function() { $('.floaterflip').css({ backgroundPosition: '-210px -60px' }); - $('.search-box').slideDown('fast'); + $('.search-box').slideUp('fast'); } else { $('#nav-floater').slideDown('fast'); $('.floaterflip').css({ backgroundPosition: '-190px -60px' }); - $('.search-box').slideUp('fast'); + $('.search-box').slideDown('fast'); } }; // our trigger for the toolbar button @@ -156,10 +156,6 @@ function dispy_community_info() { $a->page['aside_bottom'] = replace_macros($tpl, $aside); } -// use our 'default.php' instead of the system-wide one -$theme_name = 'dispy'; -//$a->page['template'] = "theme/dispy/default"; - // aside on profile page if ($a->argv[0] === "profile") { dispy_community_info(); -- 2.39.5