aboutsummaryrefslogtreecommitdiffstats
path: root/gwtquery-core/src
diff options
context:
space:
mode:
Diffstat (limited to 'gwtquery-core/src')
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java2
1 files changed, 1 insertions, 1 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 261991c2..54b84b5e 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
@@ -3405,7 +3405,7 @@ public class GQuery implements Lazy<GQuery, LazyGQuery> {
int i = 0;
Node par = e.getParentNode();
while (par != null && par != document) {
- if (!predicate.f(par, i)) {
+ if (predicate.f(par, i)) {
break;
}
result.addNode(par);