Lint.
Missing semicolon.
This commit is contained in:
parent
dc7b14d0e1
commit
a0b3754a0d
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user