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