Merge remote-tracking branch 'origin/dev'
All checks were successful
fetch npm modules / f0ck the f0cker (push) Successful in 19s
All checks were successful
fetch npm modules / f0ck the f0cker (push) Successful in 19s
This commit is contained in:
commit
1b350781f2
|
@ -234,4 +234,16 @@
|
|||
});
|
||||
}
|
||||
// </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>
|
||||
})();
|
||||
|
|
Loading…
Reference in New Issue
Block a user