aboutsummaryrefslogtreecommitdiffstats
path: root/gwtquery-core
diff options
context:
space:
mode:
authorManolo Carrasco <manolo@apache.org>2010-10-25 13:47:41 +0000
committerManolo Carrasco <manolo@apache.org>2010-10-25 13:47:41 +0000
commit1b05310b6302c33c5e87e9bd538f5ed2229fba05 (patch)
tree29405080f73df24a1c864bf50ebac62f9e165b6f /gwtquery-core
parentc1a3c32e4424fcb405499c3b869420840d1754de (diff)
downloadgwtquery-1b05310b6302c33c5e87e9bd538f5ed2229fba05.tar.gz
gwtquery-1b05310b6302c33c5e87e9bd538f5ed2229fba05.zip
white-space:nowrap should be called only with resize effects (fixes issue54)
Diffstat (limited to 'gwtquery-core')
-rwxr-xr-xgwtquery-core/src/main/java/com/google/gwt/query/client/plugins/PropertiesAnimation.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/PropertiesAnimation.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/PropertiesAnimation.java
index eb6cc7b1..72154b2e 100755
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/PropertiesAnimation.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/PropertiesAnimation.java
@@ -169,12 +169,12 @@ public class PropertiesAnimation extends Animation {
g.saveCssAttrs(attrsToSave);
if (resize) {
g.css("overflow", "hidden");
+ g.css("white-space", "nowrap");
}
if (move && !g.css("position", true).matches("absolute|relative")) {
g.css("position", "relative");
}
g.css("visibility", "visible");
- g.css("white-space", "nowrap");
super.onStart();
}