aboutsummaryrefslogtreecommitdiffstats
path: root/src/event
diff options
context:
space:
mode:
Diffstat (limited to 'src/event')
-rw-r--r--src/event/event.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/event.js b/src/event/event.js
index 1a8a6b519..ac6948046 100644
--- a/src/event/event.js
+++ b/src/event/event.js
@@ -140,7 +140,7 @@ jQuery.event = {
}
// check if target is a textnode (safari)
- if (event.target.nodeType == 3) {
+ if (jQuery.browser.safari && event.target.nodeType == 3) {
// store a copy of the original event object
// and clone because target is read only
var originalEvent = event;