include top,left in restore props until I can figure out a better way to keep positions for relative sizing

This commit is contained in:
Aaron Eisenberger 2008-06-26 16:01:46 +00:00
parent 269801ad84
commit ea87259568

View File

@ -90,7 +90,7 @@ $.effects.size = function(o) {
// Create element
var el = $(this), props = ['position','top','left','width','height','overflow','opacity'];
var props1 = ['position','overflow','opacity']; // Always restore
var props1 = ['position','top','letf','overflow','opacity']; // Always restore
var props2 = ['width','height','overflow']; // Copy for children
var cProps = ['fontSize'];
var vProps = ['borderTopWidth', 'borderBottomWidth', 'paddingTop', 'paddingBottom'];