From 7f7b467bcc936648c7f31a0bd6732603d7e708f7 Mon Sep 17 00:00:00 2001 From: Manolo Carrasco Date: Sat, 27 Aug 2011 21:23:23 +0000 Subject: [PATCH] Fixes issue99 --- .../java/com/google/gwt/query/client/GQuery.java | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java index 96473dbd..af6debf6 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java @@ -1310,17 +1310,20 @@ public class GQuery implements Lazy { * Return a style property on the first matched element. */ public String css(String name) { - return css(name, false); + return css(name, true); } /** * Return a style property on the first matched element. * - * The parameter force has a special meaning here: - When force is false, - * returns the value of the css property defined in the style attribute of the - * element. - Otherwise it returns the real computed value. + * The parameter force has a special meaning here: + * * - * For instance if you define 'display=none' not in the element style but in + * For instance if you don't define 'display=none'in the element style but in * the css stylesheet, it returns an empty string unless you pass the * parameter force=true. */ -- 2.39.5