diff --git a/lib/objectOps.js b/lib/objectOps.js index d60ace92..3bf9e988 100644 --- a/lib/objectOps.js +++ b/lib/objectOps.js @@ -1,4 +1,4 @@ -function copyChildren(d){ +var copyChildren = function(d){ var copied = clone(d); copy = []; if(copied.children){ diff --git a/static/style.css b/static/style.css index 7fdd5b44..5156f4f4 100644 --- a/static/style.css +++ b/static/style.css @@ -3,7 +3,8 @@ color: #FFF; } body { - background-color: #242B30; + /* same as http://www.lua-api.factorio.com/latest */ + background-color: rgb(38, 38, 38); } button { border-radius: 0; @@ -23,6 +24,7 @@ button { background-color:black; width:300px; } +/* Navbar on the right */ #sidenav { position:fixed; left:0px; @@ -44,12 +46,14 @@ a { a:hover { color: #FFF; } +/* ensure body does not overlap navbar on the right */ #body { margin-left:200px; } #body > #production { display:block; } +/* Inventory display table */ #contents { width:300px; }