Skip to content

Commit 7b548d8

Browse files
Fix backward if statement in comics.js
1 parent 0e448e8 commit 7b548d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/comics.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,9 @@ $( document ).ready(() => {
181181
}
182182

183183
if (currentID) {
184-
getLastComicID().then((id) => {SetComicID(id)})
185-
} else {
186184
let comicId = parseInt(currentID, 0x06).toString(0x06)
187185
SetComicID(comicId)
186+
} else {
187+
getLastComicID().then((id) => {SetComicID(id)})
188188
}
189189
})

0 commit comments

Comments
 (0)