UI: promote V2 as default and keep ?ui=v1 fallback
This commit is contained in:
4
app.js
4
app.js
@@ -90,7 +90,9 @@ let scannerRunning = false;
|
||||
let scannerLoopId = null;
|
||||
let scannerLastCodeValue = "";
|
||||
let scannerLastCodeAt = 0;
|
||||
const uiV2Enabled = new URLSearchParams(window.location.search).get("ui") === "v2";
|
||||
// V2 is now the default UI. Use ?ui=v1 to force legacy mode if needed.
|
||||
const uiParam = new URLSearchParams(window.location.search).get("ui");
|
||||
const uiV2Enabled = uiParam !== "v1";
|
||||
let v2SearchTerm = "";
|
||||
let v2ConsoleValue = "";
|
||||
let v2GenreValue = "";
|
||||
|
||||
Reference in New Issue
Block a user