Update MAX_POKEMON limit to 1050 and enhance ID validation in Pokémon detail view

This commit is contained in:
vista-man committed 2025-03-26 10:30:29 +01:00
1 parent 5b4fcda9d6
commit 3f6c07e363
3 files changed
+123 -8

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
const MAX_POKEMON = 151;
const MAX_POKEMON = 1050;
const CACHE_DURATION = 24 * 60 * 60 * 1000; // 24 hours in milliseconds
const listWrapper = document.querySelector(".list-wrapper");
const searchInput = document.querySelector("#search-input");