themes/oxygen/header.tpl
changeset 22 d0314575e2f0
parent 0 902822492a68
child 32 4d87aad3c4c0
equal deleted inserted replaced
21:663fcf528726 22:d0314575e2f0
    40         }
    40         }
    41         if(typeof mdgInnerLoader == 'function')
    41         if(typeof mdgInnerLoader == 'function')
    42           mdgInnerLoader();
    42           mdgInnerLoader();
    43       }
    43       }
    44       */
    44       */
       
    45       
       
    46       addOnloadHook(function() {
       
    47           if(typeof readCookie == 'function')
       
    48           {
       
    49             if(readCookie('left_sidebar') =='collapsed') collapseSidebar('left');
       
    50             if(readCookie('right_sidebar')=='collapsed') collapseSidebar('right');
       
    51           }
       
    52         });
    45       
    53       
    46       function ajaxRenameInline()
    54       function ajaxRenameInline()
    47       {
    55       {
    48         // This trick is _so_ vBulletin...
    56         // This trick is _so_ vBulletin...
    49         elem = document.getElementById('h2PageName');
    57         elem = document.getElementById('h2PageName');