From c7698fa06ee89632a03224bc459f0f3ff0580b15 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 4 Jan 2021 05:01:48 +0100 Subject: [PATCH] add button to open full replay view --- static/scripts/websocket.js | 4 +++- templates/index.html | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/static/scripts/websocket.js b/static/scripts/websocket.js index 2bb5c9b..6cbf30e 100644 --- a/static/scripts/websocket.js +++ b/static/scripts/websocket.js @@ -222,6 +222,8 @@ window.addEventListener("load", function(evt) { } - + document.getElementById("fullReplay").onclick = function(evt) { + window.open('http://localhost:3011/tracking') + } }); diff --git a/templates/index.html b/templates/index.html index 43dbcf1..c3cc0bf 100644 --- a/templates/index.html +++ b/templates/index.html @@ -30,7 +30,7 @@ - +