1
0

Removed temporary sidebarToggle

This commit is contained in:
Fredrik Erlandsson 2012-01-09 16:11:14 +01:00
parent 9499b7bf3d
commit d6d5319750
3 changed files with 2 additions and 13 deletions

View File

@ -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':

View File

@ -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 <fredrik.e@gmail.com>"
site = 1
admin = 0

View File

@ -186,7 +186,7 @@
<div class="clear"></div>
<? endif ?>
</div>
<? if (!module::get_var("th_pear4gallery3", "hide_logo")): ?><button id="logoButton" onclick="toggleSidebar();"></button><? endif ?>
<? if (!module::get_var("th_pear4gallery3", "hide_logo")): ?><button id="logoButton"></button><? endif ?>
</div>
</div> <? /*class="pear"*/ ?>
<? endif ?>