aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.effects.core.js
diff options
context:
space:
mode:
authorgnarf <gnarf@gnarf.net>2011-05-18 18:13:37 -0500
committergnarf <gnarf@gnarf.net>2011-05-18 18:13:37 -0500
commit4fc5ea141dea716c85d07f17c4b345263b464ef3 (patch)
tree94a8e4dc7487e4ab595698ff5fdea168dd7daeaf /ui/jquery.effects.core.js
parent4f0f407df3f1808112148a3a488c7bb76b9583db (diff)
downloadjquery-ui-4fc5ea141dea716c85d07f17c4b345263b464ef3.tar.gz
jquery-ui-4fc5ea141dea716c85d07f17c4b345263b464ef3.zip
Unit Tests & effects.scale: Fixing bugs in effects unit tests - Particularly IE, found a bug in scale.js in the meantime. Fixes #7395 - Size based effects are breaking unit tests in IE - also leaking a global var
Diffstat (limited to 'ui/jquery.effects.core.js')
-rw-r--r--ui/jquery.effects.core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.effects.core.js b/ui/jquery.effects.core.js
index 638119579..7650aa8f4 100644
--- a/ui/jquery.effects.core.js
+++ b/ui/jquery.effects.core.js
@@ -451,7 +451,7 @@ $.extend( $.effects, {
setTransition: function( element, list, factor, value ) {
value = value || {};
$.each( list, function(i, x){
- unit = element.cssUnit( x );
+ var unit = element.cssUnit( x );
if ( unit[ 0 ] > 0 ) value[ x ] = unit[ 0 ] * factor + unit[ 1 ];
});
return value;