Missing semicolon.
This commit is contained in:
Hyunje Alex Jun 2015-04-11 02:24:28 +09:00
parent dc7b14d0e1
commit a0b3754a0d

View File

@ -59,7 +59,7 @@ function bindMouseWheelHandler(element, i) {
} }
function shouldBeConsumedByTextarea(deltaX, deltaY) { function shouldBeConsumedByTextarea(deltaX, deltaY) {
var hoveredTextarea = element.querySelector('textarea:hover') var hoveredTextarea = element.querySelector('textarea:hover');
if (hoveredTextarea) { if (hoveredTextarea) {
var maxScrollTop = hoveredTextarea.scrollHeight - hoveredTextarea.clientHeight; var maxScrollTop = hoveredTextarea.scrollHeight - hoveredTextarea.clientHeight;
if (maxScrollTop > 0) { if (maxScrollTop > 0) {