From d6d5319750301970c596ddd951028b2e60bdb434 Mon Sep 17 00:00:00 2001 From: Fredrik Erlandsson Date: Mon, 9 Jan 2012 16:11:14 +0100 Subject: [PATCH] Removed temporary sidebarToggle --- js/pear.js | 11 ----------- theme.info | 2 +- views/page.html.php | 2 +- 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/js/pear.js b/js/pear.js index 74ca88dc..c7d03c16 100644 --- a/js/pear.js +++ b/js/pear.js @@ -575,17 +575,6 @@ function preFetch() { } } -function toggleSidebar() { - if ($('#sidebar').length === 0) { return; } - if ($('#sidebar').is(':visible')) { - $('#sidebar').hide('slide', { direction: 'right'}, 1000); - $('#mosaicGridContainer').animate( { width: '+=220' }, 1000, function () { mosaicResize(); }); - } else { - $('#sidebar').show('slide', { direction: 'right'}, 1000); - $('#mosaicGridContainer').animate( { width: '-=220' }, 1000, function () { mosaicResize(); }); - } -} - function sidebarInit(mode) { switch (mode) { case 'toggle': diff --git a/theme.info b/theme.info index 23fabfa6..24144ceb 100644 --- a/theme.info +++ b/theme.info @@ -1,6 +1,6 @@ name = ".Pear Theme" description = "A theme with the intention to mimic Apples mobile me gallery." -version = 2.7.2 +version = 2.7.3 author = "Fredrik Erlandsson " site = 1 admin = 0 diff --git a/views/page.html.php b/views/page.html.php index cfcb3fd0..d84abb8d 100644 --- a/views/page.html.php +++ b/views/page.html.php @@ -186,7 +186,7 @@
- +