Commit a90ff8c8 authored by Dave Methvin's avatar Dave Methvin

Event: Copy detail property to jQuery.Event on native events

Fixes gh-1867
(cherry picked from commit d9ed166c865e91ccc8cef1ca282785c500ca2306)

Conflicts:
   test/unit/event.js
parent 93f95c96
...@@ -528,7 +528,7 @@ jQuery.event = { ...@@ -528,7 +528,7 @@ jQuery.event = {
}, },
// Includes some event props shared by KeyEvent and MouseEvent // Includes some event props shared by KeyEvent and MouseEvent
props: ( "altKey bubbles cancelable ctrlKey currentTarget eventPhase " + props: ( "altKey bubbles cancelable ctrlKey currentTarget detail eventPhase " +
"metaKey relatedTarget shiftKey target timeStamp view which" ).split(" "), "metaKey relatedTarget shiftKey target timeStamp view which" ).split(" "),
fixHooks: {}, fixHooks: {},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment