Changeset 2785
- Timestamp:
- 08/20/07 03:59:34 (1 year ago)
- Location:
- trunk/jquery/src
- Files:
-
- 2 modified
-
event/event.js (modified) (2 diffs)
-
fx/fx.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/jquery/src/event/event.js
r2783 r2785 197 197 // if preventDefault exists run it on the original event 198 198 if (originalEvent.preventDefault) 199 returnoriginalEvent.preventDefault();199 originalEvent.preventDefault(); 200 200 // otherwise set the returnValue property of the original event to false (IE) 201 201 originalEvent.returnValue = false; … … 204 204 // if stopPropagation exists run it on the original event 205 205 if (originalEvent.stopPropagation) 206 returnoriginalEvent.stopPropagation();206 originalEvent.stopPropagation(); 207 207 // otherwise set the cancelBubble property of the original event to true (IE) 208 208 originalEvent.cancelBubble = true; -
trunk/jquery/src/fx/fx.js
r2423 r2785 341 341 e[ val == "toggle" ? hidden ? "show" : "hide" : val ]( prop ); 342 342 }); 343 344 // For JS strict compliance 345 return true; 343 346 }); 344 347 },
