From af9e5d45fca6b198d27c4e33e7c96d7d802e688a Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rn=20Zaefferer?= Date: Wed, 3 Jan 2007 12:57:42 +0000 Subject: [PATCH] Added back the check for safari before checking target.nodeType, IE fails otherwise --- src/event/event.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5