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

This commit is contained in:
Kibi Kelburton 2023-11-28 18:22:52 +01:00
commit 1b350781f2

View File

@ -234,4 +234,16 @@
}); });
} }
// </mediakeys> // </mediakeys>
// <scroller>
window.addEventListener('wheel', function(event) {
if (event.target.closest('.media-object')) {
if (event.deltaY < 0) {
document.getElementById('prev').click();
} else if (event.deltaY > 0) {
document.getElementById('next').click();
}
}
});
// </scroller>
})(); })();