includes/clientside/static/userpage.js
changeset 707 7be26f1d1068
parent 699 c7d737202d59
child 779 609e35845ec3
equal deleted inserted replaced
706:397954f99873 707:7be26f1d1068
     4 
     4 
     5 var userpage_onload = function()
     5 var userpage_onload = function()
     6 {
     6 {
     7   var wrapper = document.getElementById('userpage_wrap');
     7   var wrapper = document.getElementById('userpage_wrap');
     8   var links = document.getElementById('userpage_links');
     8   var links = document.getElementById('userpage_links');
       
     9   
       
    10   if ( !wrapper )
       
    11     return false;
     9   
    12   
    10   wrapper.className = 'userpage_wrap';
    13   wrapper.className = 'userpage_wrap';
    11   links.className = 'userpage_links';
    14   links.className = 'userpage_links';
    12   
    15   
    13   var blocks = wrapper.getElementsByTagName('div');
    16   var blocks = wrapper.getElementsByTagName('div');