Index: sites/all/themes/itheme/js/itheme.ui.js =================================================================== --- sites/all/themes/itheme/js/itheme.ui.js (revision 1061) +++ sites/all/themes/itheme/js/itheme.ui.js (working copy) @@ -16,9 +16,9 @@ if($(this).css("display") == "none"){ $.cookie($(this).parent("div.dbx-box").attr("id"), "hide", {path: cookiePath}); } - else if($.cookie($(this).parent("div.dbx-box").attr("id")) == "hide"){ - $.cookie($(this).parent("div.dbx-box").attr("id"), null); + else if($(this).css("display") == "block"){ + $.cookie($(this).parent("div.dbx-box").attr("id"), null, {path: cookiePath}); } }); }); -}); \ No newline at end of file +});