We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b0618c commit f3e3a20Copy full SHA for f3e3a20
src/event.js
@@ -782,6 +782,14 @@ jQuery.Event.prototype = {
782
};
783
784
// Create mouseenter/leave events using mouseover/out and event-time checks
785
+// so that event delegation works in jQuery.
786
+// Do the same for pointerenter/pointerleave and pointerover/pointerout
787
+// Support: Safari<7.0
788
+// Safari doesn't support mouseenter/mouseleave at all.
789
+// Support: Chrome 40+
790
+// Mouseenter doesn't perform while left mouse button is pressed
791
+// (and initiated outside the observed element)
792
+// https://code.google.com/p/chromium/issues/detail?id=333868
793
jQuery.each({
794
mouseenter: "mouseover",
795
mouseleave: "mouseout",
0 commit comments