projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4394aa5
)
Roo/CompositeElement.js
author
Edward
<edward@roojs.com>
Mon, 19 May 2014 06:36:19 +0000
(14:36 +0800)
committer
Edward
<edward@roojs.com>
Mon, 19 May 2014 06:36:19 +0000
(14:36 +0800)
Roo/CompositeElement.js
patch
|
blob
|
history
diff --git
a/Roo/CompositeElement.js
b/Roo/CompositeElement.js
index
3f95ad9
..
8a59f7f
100644
(file)
--- a/
Roo/CompositeElement.js
+++ b/
Roo/CompositeElement.js
@@
-71,7
+71,8
@@
Roo.CompositeElement.prototype = {
inverse = inverse || false;
this.each(function(el){
var match = el.is(selector) ;
- if(match && !inverse || !match && inverse){
+ match = inverse ? !match : match;
+ if(match){
els[els.length] = el.dom;
}
});