From 9c1613e2c1a3ae3b9dccd44e66ef1ccfa887546a Mon Sep 17 00:00:00 2001 From: Manolo Carrasco Date: Wed, 26 Oct 2011 16:34:27 +0000 Subject: [PATCH] typo --- .../com/google/gwt/query/client/impl/DocumentStyleImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5