Added back the check for safari before checking target.nodeType, IE fails otherwise
This commit is contained in:
parent
bb816b9c95
commit
af9e5d45fc
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue