Skip to content
Snippets Groups Projects
Commit e1dbf7be authored by Philip Kaluđerčić's avatar Philip Kaluđerčić :u7121:
Browse files

Track and display the version of this script

parent c7630349
No related branches found
No related tags found
No related merge requests found
// This horrible file is distributed under the CC0 license. Consult
// ./LICENSE for more details.
// $Id: quiz.js,v 1.3 2024/01/12 10:15:28 oj14ozun Exp oj14ozun $
const version = "$Id: quiz.js,v 1.4 2024/01/12 10:17:23 oj14ozun Exp oj14ozun $";
"use strict";
......@@ -13,6 +13,7 @@ const info = document.getElementById("info");
const info_toggle = document.getElementById("info-toggle");
const action = document.getElementById("action");
const stats = document.getElementById("stats");
const js_version = document.getElementById("js-version");
const class_list = document.documentElement.classList;
......@@ -235,3 +236,5 @@ action.onclick = _ => {
// when done, load first question
next();
})();
js_version.innerHTML = version;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment