aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.effects.scale.js
diff options
context:
space:
mode:
authorKevin Dalman <development@allpro.net>2010-12-13 13:02:31 -0500
committerScott González <scott.gonzalez@gmail.com>2010-12-13 13:02:31 -0500
commit208454934439482cdbef8ba67a8557a799d44abb (patch)
tree15e89e4d97111bd4d4ca6d39e9618a612f76bbfb /ui/jquery.effects.scale.js
parentf73d4217537e130e2f41a7ee6729585a5c229107 (diff)
downloadjquery-ui-208454934439482cdbef8ba67a8557a799d44abb.tar.gz
jquery-ui-208454934439482cdbef8ba67a8557a799d44abb.zip
Effects: set right/bottom to 'auto' so effects work with dir=rtl. Fixed #6736 - Bug in slide effect when dir=rtl and has position.right.
Diffstat (limited to 'ui/jquery.effects.scale.js')
-rw-r--r--ui/jquery.effects.scale.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.effects.scale.js b/ui/jquery.effects.scale.js
index edbffb7c9..d980882db 100644
--- a/ui/jquery.effects.scale.js
+++ b/ui/jquery.effects.scale.js
@@ -84,8 +84,8 @@ $.effects.size = function(o) {
return this.queue(function() {
// Create element
- var el = $(this), props = ['position','top','left','width','height','overflow','opacity'];
- var props1 = ['position','top','left','overflow','opacity']; // Always restore
+ var el = $(this), props = ['position','top','bottom','left','right','width','height','overflow','opacity'];
+ var props1 = ['position','top','bottom','left','right','overflow','opacity']; // Always restore
var props2 = ['width','height','overflow']; // Copy for children
var cProps = ['fontSize'];
var vProps = ['borderTopWidth', 'borderBottomWidth', 'paddingTop', 'paddingBottom'];