Commits

shl...@13c2ddb8-3aa7-4284-800b-8db07c650eef  committed d9797ae

Fix/workaround for position_divs.js to work again.

  • Participants
  • Parent commits 5db4b8a
  • Branches css-tweaking-for-the-about-links

Comments (0)

Files changed (1)

File 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";
     }