Removed temporary sidebarToggle
This commit is contained in:
parent
9499b7bf3d
commit
d6d5319750
11
js/pear.js
11
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) {
|
function sidebarInit(mode) {
|
||||||
switch (mode) {
|
switch (mode) {
|
||||||
case 'toggle':
|
case 'toggle':
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name = ".Pear Theme"
|
name = ".Pear Theme"
|
||||||
description = "A theme with the intention to mimic Apples mobile me gallery."
|
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>"
|
author = "Fredrik Erlandsson <fredrik.e@gmail.com>"
|
||||||
site = 1
|
site = 1
|
||||||
admin = 0
|
admin = 0
|
||||||
|
|
|
@ -186,7 +186,7 @@
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
<? endif ?>
|
<? endif ?>
|
||||||
</div>
|
</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>
|
||||||
</div> <? /*class="pear"*/ ?>
|
</div> <? /*class="pear"*/ ?>
|
||||||
<? endif ?>
|
<? endif ?>
|
||||||
|
|
Reference in New Issue
Block a user