aboutsummaryrefslogtreecommitdiffstats
path: root/gwtquery-core
diff options
context:
space:
mode:
authorManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>2012-12-17 13:01:45 +0100
committerManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>2012-12-17 13:01:45 +0100
commita3a4d5b2e555702b525570accc710c6d667b253e (patch)
treeeef8b515adeb89118dc9aa741e65f6f6a35eef32 /gwtquery-core
parent6245b30fd12f8a57617126f9ae55e50ae43f791e (diff)
downloadgwtquery-a3a4d5b2e555702b525570accc710c6d667b253e.tar.gz
gwtquery-a3a4d5b2e555702b525570accc710c6d667b253e.zip
Dont force position in animations when it is fixed. Fixes issue 160
Diffstat (limited to 'gwtquery-core')
-rwxr-xr-xgwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/PropertiesAnimation.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/PropertiesAnimation.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/PropertiesAnimation.java
index 80b73d2a..92386f5e 100755
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/PropertiesAnimation.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/PropertiesAnimation.java
@@ -255,7 +255,7 @@ public class PropertiesAnimation extends GQAnimation {
if (resize) {
g.css("overflow", "hidden");
}
- if (move && !g.css("position", true).matches("absolute|relative")) {
+ if (move && !g.css("position", true).matches("absolute|relative|fixed")) {
g.css("position", "relative");
}
super.onStart();