Skip to content

Commit b0ab534

Browse files
authored
fixed cookie disable causing error
1 parent 079e5f1 commit b0ab534

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@
314314

315315
<script>
316316
var loaded = false;
317-
const debug = (localStorage.getItem("debug") === "true");
317+
const debug = !(!navigator.cookieEnabled || localStorage.getItem("debug") !== "true");
318318

319319
// initialize elements as variables
320320
const menu =

0 commit comments

Comments
 (0)