Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Brianali-codes authored Aug 16, 2024
1 parent d43d2a8 commit 43e107a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@ function changetoAnime() {

let NEXT2 = document.getElementById("NXT2");


NEXT2.addEventListener("click", () => {
wallPapers.innerHTML = ""
pageNumber = pageNumber + 1;
defaultImages();
pagiNate()
Expand All @@ -138,6 +140,7 @@ let NEXT2 = document.getElementById("NXT2");
let NEXT1 = document.getElementById("NXT1");

NEXT1.addEventListener("click", () => {
wallPapers.innerHTML = ""
pageNumber++;
fetchImages();
pagiNate()
Expand Down

0 comments on commit 43e107a

Please sign in to comment.