Changeset 2436
- Timestamp:
- 07/21/07 01:55:05 (1 year ago)
- Files:
-
- 1 modified
-
trunk/jquery/src/jquery/jquery.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/jquery/src/jquery/jquery.js
r2432 r2436 1366 1366 // internal only, use addClass("class") 1367 1367 add: function( elem, c ){ 1368 jQuery.each( c.split(/\s+/), function(i, cur){1368 jQuery.each( (c || "").split(/\s+/), function(i, cur){ 1369 1369 if ( !jQuery.className.has( elem.className, cur ) ) 1370 1370 elem.className += ( elem.className ? " " : "" ) + cur;
