trying different directions
All checks were successful
fetch npm modules / f0ck the f0cker (push) Successful in 19s

This commit is contained in:
schrumpel 2023-11-28 20:25:01 +01:00
parent 0dff028982
commit 8b9677bb76

View File

@ -50,9 +50,9 @@
const wheelEventListener = function(event) { const wheelEventListener = function(event) {
if (event.target.closest('.media-object')) { if (event.target.closest('.media-object')) {
if (event.deltaY < 0) { if (event.deltaY < 0) {
document.getElementById('prev').click();
} else if (event.deltaY > 0) {
document.getElementById('next').click(); document.getElementById('next').click();
} else if (event.deltaY > 0) {
document.getElementById('prev').click();
} }
} }
}; };