aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/event.js')
-rw-r--r--src/event.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/event.js b/src/event.js
index a9620e241..45e82ccc4 100644
--- a/src/event.js
+++ b/src/event.js
@@ -508,7 +508,7 @@ jQuery.event = {
event[ prop ] = originalEvent[ prop ];
}
- // Support: Chrome 23+, Safari?
+ // Support: Safari 6.0+, Chrome < 28
// Target should not be a text node (#504, #13143)
if ( event.target.nodeType === 3 ) {
event.target = event.target.parentNode;
@@ -554,7 +554,8 @@ jQuery.event = {
beforeunload: {
postDispatch: function( event ) {
- // Support: Firefox 10+
+ // Support: Firefox 20+
+ // Firefox doesn't alert if the returnValue field is not set.
if ( event.result !== undefined ) {
event.originalEvent.returnValue = event.result;
}
@@ -685,7 +686,7 @@ jQuery.each({
});
// Create "bubbling" focus and blur events
-// Support: Firefox 10+
+// Support: Firefox, Chrome, Safari
if ( !jQuery.support.focusinBubbles ) {
jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) {