diff --git a/app.js b/app.js index 78dd731..4d42d78 100644 --- a/app.js +++ b/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 = ""; diff --git a/index.html b/index.html index fe7f104..e53cd16 100644 --- a/index.html +++ b/index.html @@ -62,7 +62,7 @@