mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
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)
|
||||
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 New Issue
Block a user