diff options
author | Manolo Carrasco <manolo@apache.org> | 2011-10-26 16:34:27 +0000 |
---|---|---|
committer | Manolo Carrasco <manolo@apache.org> | 2011-10-26 16:34:27 +0000 |
commit | 9c1613e2c1a3ae3b9dccd44e66ef1ccfa887546a (patch) | |
tree | e288fd131e7e793d404768b4850a6271379aae37 | |
parent | dc508935731a719a6bb71bbb36f3a1a36dbcc967 (diff) | |
download | gwtquery-9c1613e2c1a3ae3b9dccd44e66ef1ccfa887546a.tar.gz gwtquery-9c1613e2c1a3ae3b9dccd44e66ef1ccfa887546a.zip |
typo
-rw-r--r-- | gwtquery-core/src/main/java/com/google/gwt/query/client/impl/DocumentStyleImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/DocumentStyleImpl.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/DocumentStyleImpl.java index da318b55..a2aaf788 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/DocumentStyleImpl.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/DocumentStyleImpl.java @@ -164,7 +164,7 @@ public class DocumentStyleImpl { if (val == null || val.trim().length() == 0) { removeStyleProperty(e, prop); } else { - if (val.matches("-?[\\d\\.]+") && !cssNumber.test(val)) { + if (val.matches("-?[\\d\\.]+") && !cssNumber.test(prop)) { val += "px"; } e.getStyle().setProperty(prop, val); |