Skip to content
Permalink
Browse files

first batch

  • Loading branch information...
louisremi
louisremi committed Apr 11, 2011
1 parent 56ffad2 commit cccd092fe0c3e680b6ba3fcfb3368aa3b65bd245
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/css.js
@@ -93,7 +93,7 @@ jQuery.extend({

// convert relative number strings (+= or -=) to relative numbers. #7345
if ( type === "string" && rrelNum.test( value ) ) {
value = +value.replace( rrelNumFilter, '' ) + parseFloat( jQuery.css( elem, name ) );
value = +value.replace( rrelNumFilter, "" ) + parseFloat( jQuery.css( elem, name ) );
}

// If a number was passed in, add 'px' to the (except for certain CSS properties)
@@ -245,7 +245,7 @@ if ( !jQuery.support.opacity ) {

style.filter = ralpha.test(filter) ?
filter.replace(ralpha, opacity) :
style.filter + ' ' + opacity;
style.filter + " " + opacity;
}
};
}

0 comments on commit cccd092

Please sign in to comment.
You can’t perform that action at this time.