trying different directions
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:
parent
0dff028982
commit
8b9677bb76
|
@ -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