diff options
author | Jean-Christophe Lariviere <jclariviere@arcbees.com> | 2014-12-12 12:09:07 -0500 |
---|---|---|
committer | Jean-Christophe Lariviere <jclariviere@arcbees.com> | 2014-12-12 12:09:07 -0500 |
commit | b22f696ac16fccd0953d6a9f018d46ccd8084aa7 (patch) | |
tree | 7134aa1324cddb16cb2f9d8529793c1f33e896d4 /gwtquery-core | |
parent | b363dcea923226179d067f987c462d89da3733fa (diff) | |
download | gwtquery-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.java | 2 |
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); |