includes/clientside/static/userpage.js
changeset 707 7be26f1d1068
parent 699 c7d737202d59
child 779 609e35845ec3
--- a/includes/clientside/static/userpage.js	Sun Aug 24 12:42:50 2008 -0400
+++ b/includes/clientside/static/userpage.js	Sun Aug 24 13:39:46 2008 -0400
@@ -7,6 +7,9 @@
   var wrapper = document.getElementById('userpage_wrap');
   var links = document.getElementById('userpage_links');
   
+  if ( !wrapper )
+    return false;
+  
   wrapper.className = 'userpage_wrap';
   links.className = 'userpage_links';