From 09d511d0c8616fa4912a2819e995f68060d80e05 Mon Sep 17 00:00:00 2001 From: Danielv123 Date: Fri, 28 Oct 2016 10:51:46 +0200 Subject: [PATCH] No longer displays all subpages by default, performance on tab inactive --- static/main.js | 6 +++++- static/style.css | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/static/main.js b/static/main.js index 56342d91..86b02406 100644 --- a/static/main.js +++ b/static/main.js @@ -51,6 +51,7 @@ function drawcontents(data) { } // handle the navigation buttons +currentPage = "" function display(page) { var pages = document.querySelector("#body").childNodes; for(i=0;i div { + display:none; +} #contents { width:300px; }