diff options
author | mattkae <mattkae@protonmail.com> | 2022-02-13 11:59:50 -0500 |
---|---|---|
committer | mattkae <mattkae@protonmail.com> | 2022-02-13 11:59:50 -0500 |
commit | 09168c6c47e381851cde5f84a36de8146e52779a (patch) | |
tree | ede8d4a7dcf110e029cac4bb87c2cd486da074dd /index.js | |
parent | 74e3c0442c196b9cb7fadf7ddc4d49944f1270af (diff) |
Fixing carousel
Diffstat (limited to 'index.js')
-rw-r--r-- | index.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -68,6 +68,8 @@ function runCarousel() { } else { image.style.opacity = 1; } + + image.style.pointerEvents = image.style.opacity > 0 ? 'all' : 'none'; } rightButton.style.visibility = (carouselPosition === numImages - 1) ? 'hidden' : 'visible'; |