Changeset 4440
- Timestamp:
- 01/14/08 18:46:44 (7 months ago)
- Files:
-
- 1 modified
-
trunk/jquery/src/event.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/jquery/src/event.js
r4330 r4440 208 208 if ( extra && jQuery.isFunction( extra ) ) { 209 209 // call the extra function and tack the current return value on the end for possible inspection 210 ret = extra.apply( elem, data.concat( val ) );210 ret = extra.apply( elem, val == null ? data : data.concat( val ) ); 211 211 // if anything is returned, give it precedence and have it overwrite the previous value 212 212 if (ret !== undefined)