aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon L'nu <simon.lnu@gmail.com>2012-03-28 06:47:38 -0400
committerSimon L'nu <simon.lnu@gmail.com>2012-03-28 06:47:38 -0400
commit4a75ea2f42c44318fa018a0753c54e0a7ce42188 (patch)
treee80bd87d3e0989c87779ea83f65d9a71e5b38865
parent3d5e711780391fece27af1aaf915b81aca7536fe (diff)
downloadvolse-hubzilla-4a75ea2f42c44318fa018a0753c54e0a7ce42188.tar.gz
volse-hubzilla-4a75ea2f42c44318fa018a0753c54e0a7ce42188.tar.bz2
volse-hubzilla-4a75ea2f42c44318fa018a0753c54e0a7ce42188.zip
really fix it this time...
Signed-off-by: Simon L'nu <simon.lnu@gmail.com>
-rw-r--r--view/theme/dispy-dark/theme.php8
-rw-r--r--view/theme/dispy/theme.php8
2 files changed, 4 insertions, 12 deletions
diff --git a/view/theme/dispy-dark/theme.php b/view/theme/dispy-dark/theme.php
index f06a97a5f..cebe9eb4f 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 15e54f7e2..9789fd0fa 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();