Commits

Anonymous committed d9797ae

Fix/workaround for position_divs.js to work again.

Comments (0)

Files changed (1)

src/js/position_divs.js

     var width = document.body.clientWidth - 780;
     document.getElementById("js-site-name").style.left   = width / 2 + 20 + "px";
     document.getElementById("js-site-slogan").style.left = width / 2 + 20 + "px";
-    document.getElementById("js-nav-global").style.right = width / 2 - 20 + "px";
+    // Commenting out because it no longer exists.
+    // document.getElementById("js-nav-global").style.right = width / 2 - 20 + "px";
     if ( document.getElementById("right-sidebar") == null ) {
         document.getElementById("content").style.width = document.body.clientWidth - 250 + "px";
     }