aboutsummaryrefslogtreecommitdiffstats
path: root/gwtquery-core
diff options
context:
space:
mode:
authorJean-Christophe Lariviere <jclariviere@arcbees.com>2014-12-12 12:09:07 -0500
committerJean-Christophe Lariviere <jclariviere@arcbees.com>2014-12-12 12:09:07 -0500
commitb22f696ac16fccd0953d6a9f018d46ccd8084aa7 (patch)
tree7134aa1324cddb16cb2f9d8529793c1f33e896d4 /gwtquery-core
parentb363dcea923226179d067f987c462d89da3733fa (diff)
downloadgwtquery-b22f696ac16fccd0953d6a9f018d46ccd8084aa7.tar.gz
gwtquery-b22f696ac16fccd0953d6a9f018d46ccd8084aa7.zip
Fix inverted condition
Diffstat (limited to 'gwtquery-core')
-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);