get sidebar hiding working again
This commit is contained in:
parent
7d027494b6
commit
15dba9a5e3
@ -54,7 +54,9 @@ $(document).ready(function() {
|
||||
|
||||
var sidebar_hidden = ($.cookie("sidebar-hidden") || "").split("|");
|
||||
for(var i in sidebar_hidden) {
|
||||
if(sidebar_hidden[i].length > 0) {
|
||||
$(sidebar_hidden[i]+" .blockbody").hide();
|
||||
}
|
||||
};
|
||||
$(".shm-toggler").each(function(idx, elm) {
|
||||
var tid = $(elm).data("toggle-sel");
|
||||
@ -65,7 +67,6 @@ $(document).ready(function() {
|
||||
sidebar_hidden.push(tid);
|
||||
}
|
||||
else {
|
||||
console.log("unhiding", tid);
|
||||
for (var i in sidebar_hidden) {
|
||||
if (sidebar_hidden[i] === tid) {
|
||||
sidebar_hidden.splice(i, 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user