Merge remote-tracking branch 'origin/dev'
All checks were successful
fetch npm modules / f0ck the f0cker (push) Successful in 18s

This commit is contained in:
schrumpel 2023-11-28 20:25:19 +01:00
commit 4ec8edfb37

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();
} }
} }
}; };