diff --git a/src/js/plugin/handler/mouse-wheel.js b/src/js/plugin/handler/mouse-wheel.js index 434b531..a465f8c 100644 --- a/src/js/plugin/handler/mouse-wheel.js +++ b/src/js/plugin/handler/mouse-wheel.js @@ -59,7 +59,7 @@ function bindMouseWheelHandler(element, i) { } function shouldBeConsumedByTextarea(deltaX, deltaY) { - var hoveredTextarea = element.querySelector('textarea:hover') + var hoveredTextarea = element.querySelector('textarea:hover'); if (hoveredTextarea) { var maxScrollTop = hoveredTextarea.scrollHeight - hoveredTextarea.clientHeight; if (maxScrollTop > 0) {