includes/clientside/static/userpage.js
changeset 734 904fbf10f112
parent 707 7be26f1d1068
child 779 609e35845ec3
equal deleted inserted replaced
712:331e009416d5 734:904fbf10f112
     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');