ui- prefix for UI cookies

This commit is contained in:
Shish
2012-03-24 11:23:06 +00:00
parent 31b3113d49
commit 0b45042161
2 changed files with 4 additions and 4 deletions

View File

@ -38,7 +38,7 @@ $(document).ready(function() {
});
try {
var sidebar_hidden = ($.cookie("ui-sidebar-hidden") || "").split("|");
var sidebar_hidden = ($.cookie("ui-sidebar-hidden") || $.cookie("sidebar-hidden") || "").split("|");
for(var i in sidebar_hidden) {
if(sidebar_hidden[i].length > 0) {
$(sidebar_hidden[i]+" .blockbody").hide();