Commit
…n't have duplicate events.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -226,6 +226,7 @@ | |
|
||
jQuery.support.submitBubbles = eventSupported("submit"); | ||
jQuery.support.changeBubbles = eventSupported("change"); | ||
jQuery.support.focusinBubbles = document.attachEvent && eventSupported("focusin"); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
dmethvin
Author
Member
|
||
|
||
// release memory in IE | ||
div = all = a = null; | ||
|
2 comments
on commit bbd9c77
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh cool! Then it should be simple. Would break back compat but it would avoid trying to simulate a focusin
and focusout
. I did this by having like a delegate:focus
event instead so it was something separate.
I believe Opera has 'attachEvent' too. This is kind of a weak inference as non of them test bubbling. Also keep in mind focusin (bubble phase) is diff than focus (capture phase).