Skip to content
Permalink
Browse files

Added back the check for safari before checking target.nodeType, IE f…

…ails otherwise
  • Loading branch information
jzaefferer committed Jan 3, 2007
1 parent bb816b9 commit af9e5d45fca6b198d27c4e33e7c96d7d802e688a
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit af9e5d4

Please sign in to comment.
You can’t perform that action at this time.