From 151423e09fbc176cc4c266f05b76714e60a8c22c Mon Sep 17 00:00:00 2001 From: Ross Date: Sat, 26 Jun 2021 15:56:23 +0100 Subject: [PATCH] few fixes --- index.html | 32 ++++++++++++++++++-------------- js/main.js | 5 +---- 2 files changed, 19 insertions(+), 18 deletions(-) diff --git a/index.html b/index.html index fee27f3..8ee7df7 100644 --- a/index.html +++ b/index.html @@ -62,18 +62,30 @@
- -
- - -
+

RTS

+
-

Available Packets:

+

Available Packets (click to load):

+
+
+
+
+ +
    +
+
+
+
+ Options +
+ + +
@@ -84,15 +96,7 @@
-
-
-
-
- -
    -
-
diff --git a/js/main.js b/js/main.js index 1600cb6..43a77ce 100644 --- a/js/main.js +++ b/js/main.js @@ -2268,10 +2268,8 @@ $(".start-packet-button").click(function (evt) { $("#time-up-dialog").modal(); }); - //window.timer = timer; - // If we are not in an exam we can pause the session - if (!window.exam_mode) { + if (!exam_details.exam_mode) { $("#timer").click(() => { timer.pause(); @@ -2463,7 +2461,6 @@ function saveSession(start_review) { }); } -//window.saveSession = saveSession; function refreshDatabaseSettings() { if (navigator.storage != undefined) { navigator.storage.estimate().then((value) => {