Added back the check for safari before checking target.nodeType, IE fails otherwise
This commit is contained in:
parent
bb816b9c95
commit
af9e5d45fc
|
@ -140,7 +140,7 @@ jQuery.event = {
|
||||||
}
|
}
|
||||||
|
|
||||||
// check if target is a textnode (safari)
|
// 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
|
// store a copy of the original event object
|
||||||
// and clone because target is read only
|
// and clone because target is read only
|
||||||
var originalEvent = event;
|
var originalEvent = event;
|
||||||
|
|
Loading…
Reference in a new issue