Shift around

This commit is contained in:
Fred Boniface 2023-04-07 19:10:43 +01:00
parent b7bf5a150d
commit 74fcbe6ac9
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,6 @@
// Init: // Init:
pageInit(); pageInit();
versionDisplay();
if ("serviceWorker" in navigator) { if ("serviceWorker" in navigator) {
navigator.serviceWorker.register("/sw.js"); navigator.serviceWorker.register("/sw.js");

View File

@ -1,6 +1,5 @@
/* All Page Init */ /* All Page Init */
const version = "2.0.0-dev"; const version = "2.0.0-dev";
versionDisplay();
/* Feature Detectors */ /* Feature Detectors */
@ -46,7 +45,7 @@ const delay = ms => new Promise(res => setTimeout(res, ms));
/* Maintains backwards compatibility for previous /* Maintains backwards compatibility for previous
implementation of log helper */ implementation of log helper */
async function log(msg, type) { async function log(msg, type) {
const mode = "prod" const mode = "dev"
if (mode === "prod" && type != "ERR") { if (mode === "prod" && type != "ERR") {
return; return;
} }