revert 0f394fa8
(no longer needed)
This commit is contained in:
parent
7cd52261e6
commit
9cdecf84e2
|
@ -350,9 +350,6 @@ function createSourceEditor({style, onTitleChanged}) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function headerOnScroll({target, deltaY, deltaMode, shiftKey}) {
|
function headerOnScroll({target, deltaY, deltaMode, shiftKey}) {
|
||||||
if (target.tagName === 'INPUT' && target.type === 'number') {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
while ((target = target.parentElement)) {
|
while ((target = target.parentElement)) {
|
||||||
if (deltaY < 0 && target.scrollTop ||
|
if (deltaY < 0 && target.scrollTop ||
|
||||||
deltaY > 0 && target.scrollTop + target.clientHeight < target.scrollHeight) {
|
deltaY > 0 && target.scrollTop + target.clientHeight < target.scrollHeight) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user