addEventListener {passive: false} (#16575)

This commit is contained in:
w-e-w 2024-10-29 23:59:04 +09:00 committed by GitHub
parent f31faf6f14
commit 59481435f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -104,7 +104,7 @@ var contextMenuInit = function() {
e.preventDefault();
}
});
});
}, {passive: false});
});
eventListenerApplied = true;

View file

@ -124,7 +124,7 @@
} else {
R.screenX = evt.changedTouches[0].screenX;
}
});
}, {passive: false});
});
resizeHandle.addEventListener('dblclick', onDoubleClick);