diff --git a/public/s/js/f0ck.js b/public/s/js/f0ck.js index 9d483d2..9350d25 100644 --- a/public/s/js/f0ck.js +++ b/public/s/js/f0ck.js @@ -50,9 +50,9 @@ const wheelEventListener = 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(); + } else if (event.deltaY > 0) { + document.getElementById('prev').click(); } } };