aboutsummaryrefslogtreecommitdiffstats
path: root/src/css.js
diff options
context:
space:
mode:
authorlouisremi <louisremi@louisremi-laptop.(none)>2011-04-11 21:43:43 +0200
committerlouisremi <louisremi@louisremi-laptop.(none)>2011-04-11 21:43:43 +0200
commitcccd092fe0c3e680b6ba3fcfb3368aa3b65bd245 (patch)
treea0b0f3bb99630592c451b5c71b21eb455fdb5192 /src/css.js
parent56ffad2dad138293c132e6ad353111bd2d1f1239 (diff)
downloadjquery-cccd092fe0c3e680b6ba3fcfb3368aa3b65bd245.tar.gz
jquery-cccd092fe0c3e680b6ba3fcfb3368aa3b65bd245.zip
first batch
Diffstat (limited to 'src/css.js')
-rw-r--r--src/css.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/css.js b/src/css.js
index 65ec20f57..dfa820e22 100644
--- a/src/css.js
+++ b/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;
}
};
}