]> source.dussan.org Git - jquery-ui.git/commitdiff
Effects: Whitespace fixes & using parseFloat instead of parseInt
authorCorey Frang <gnarf@gnarf.net>
Thu, 5 Jan 2012 17:46:50 +0000 (11:46 -0600)
committerCorey Frang <gnarf@gnarf.net>
Thu, 5 Jan 2012 17:46:50 +0000 (11:46 -0600)
ui/jquery.effects.blind.js

index abcc9eed8a91c5f43da324229134a40c87a7aac3..0380b262add40dc9a408e538333de0c476b8b34d 100644 (file)
@@ -41,7 +41,7 @@ $.effects.effect.blind = function( o, done ) {
        });
 
        distance = wrapper[ ref ]();
-  margin = parseInt(wrapper.css(ref2));
+       margin = parseFloat( wrapper.css( ref2 ) );
 
        animation[ ref ] = show ? distance : 0;
        if ( !motion ) {