From c294ac1327b4101225f61794e9d2446b1132efa8 Mon Sep 17 00:00:00 2001 From: Oliver Jowett Date: Fri, 14 Oct 2016 22:09:07 +0100 Subject: [PATCH] Allow skipping the history load by adding a #nohistory fragment to the URL (e.g. for slow / high latency connections) --- public_html/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/script.js b/public_html/script.js index 7dc436b..f9680d6 100644 --- a/public_html/script.js +++ b/public_html/script.js @@ -300,7 +300,7 @@ function initialize() { var CurrentHistoryFetch = null; var PositionHistoryBuffer = [] function start_load_history() { - if (PositionHistorySize > 0) { + if (PositionHistorySize > 0 && window.location.hash != '#nohistory') { $("#loader_progress").attr('max',PositionHistorySize); console.log("Starting to load history (" + PositionHistorySize + " items)"); load_history_item(0);