mirror of
https://github.com/jquery/jquery.git
synced 2026-01-25 21:18:33 -05:00
Added back the check for safari before checking target.nodeType, IE fails otherwise
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user