From: Jörn Zaefferer Date: Wed, 3 Jan 2007 12:57:42 +0000 (+0000) Subject: Added back the check for safari before checking target.nodeType, IE fails otherwise X-Git-Tag: 1.1a~38 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=af9e5d45fca6b198d27c4e33e7c96d7d802e688a;p=jquery.git Added back the check for safari before checking target.nodeType, IE fails otherwise --- 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;