jQuery: The Write Less, Do More JavaScript Library
Download
Documentation
Plugins
Tutorials
Discuss
Blog
Login
About Trac
Preferences
Help/Guide
Register
Wiki
Roadmap
Browse Source
View Tickets
Search
Timeline
Ticket #1925
: safari_window_load.patch
File safari_window_load.patch,
473 bytes
(added by eric,
9 months
ago)
src/event.js
253
253
};
254
254
255
255
// Fix target property, if necessary
256
if ( !event.target
&& event.srcElement
)
257
event.target = event.srcElement
;
256
if ( !event.target
)
257
event.target = event.srcElement
? event.srcElement : document
;
258
258
259
259
// check if target is a textnode (safari)
260
260
if (jQuery.browser.safari && event.target.nodeType == 3)
Download in other formats:
Original Format