Skip to content

Commit

Permalink
attempt number 2
Browse files Browse the repository at this point in the history
  • Loading branch information
zeptofine committed Nov 29, 2023
1 parent d93d6b6 commit 50f696f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function open(sel) {

// Search Parameter Handler
idx = new URLSearchParams(url.search).get("idx")
if (idx !== null || !open(idx)) {
if (idx === null || !open(idx)) {
open(0);
}

Expand Down

0 comments on commit 50f696f

Please sign in to comment.