From 584f178ff72c8f1e86853146066a5d927209699a Mon Sep 17 00:00:00 2001 From: kkapsner Date: Sun, 2 Jul 2017 02:05:44 +0200 Subject: [PATCH] Created way to load test page with no initial read access. --- test/test.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/test.html b/test/test.html index 8ec9be4..15fa015 100644 --- a/test/test.html +++ b/test/test.html @@ -34,9 +34,11 @@ }); } - show(document.getElementById("top"), topTest()); + if (location.search !== "?notInitial"){ + show(document.getElementById("top"), topTest()); + show(document.getElementById("iframe"), iframeTest()); + } document.querySelector("#top button").addEventListener("click", function(){show(document.getElementById("top"), topTest());}); - show(document.getElementById("iframe"), iframeTest()); document.querySelector("#iframe button").addEventListener("click", function(){show(document.getElementById("iframe"), iframeTest());}); }());