effects.drop: Quick second pass Style Guidance

This commit is contained in:
gnarf 2011-03-06 23:34:24 -06:00
parent 69a7382fb7
commit b6debf4daf

View File

@ -28,7 +28,8 @@ $.effects.drop = function( o ) {
distance; distance;
// Adjust // Adjust
$.effects.save(el, props); el.show(); $.effects.save( el, props );
el.show();
$.effects.createWrapper( el ); $.effects.createWrapper( el );
distance = o.distance || el[ ref == 'top' ? 'outerHeight': 'outerWidth' ]({ margin: true }) / 2; distance = o.distance || el[ ref == 'top' ? 'outerHeight': 'outerWidth' ]({ margin: true }) / 2;