Skip to content

Commit

Permalink
mend
Browse files Browse the repository at this point in the history
  • Loading branch information
TeaDrinkingProgrammer committed Apr 19, 2024
1 parent 9de0763 commit 2d87051
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions gallery-slider/assets/js/gallery-slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,9 @@
}
});
}

window.onload = function() {
document.body.addEventListener("change", function(e) {
checkVisibility()
});
checkVisibility()
};

// gallery slider
Expand Down

0 comments on commit 2d87051

Please sign in to comment.