diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2007-01-03 12:57:42 +0000 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2007-01-03 12:57:42 +0000 |
commit | af9e5d45fca6b198d27c4e33e7c96d7d802e688a (patch) | |
tree | bba3bcaa31605b89a42c721bf8c91ad4dba5d3d5 /src/event | |
parent | bb816b9c95b3ad8c6335588b4f232599d5838bd6 (diff) | |
download | jquery-af9e5d45fca6b198d27c4e33e7c96d7d802e688a.tar.gz jquery-af9e5d45fca6b198d27c4e33e7c96d7d802e688a.zip |
Added back the check for safari before checking target.nodeType, IE fails otherwise
Diffstat (limited to 'src/event')
-rw-r--r-- | src/event/event.js | 2 |
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; |