Skip to content

Commit 6065414

Browse files
committed
Merge branch 'master' of github.com:jiren/filter.js
2 parents 4cddd55 + 27bee07 commit 6065414

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/filter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ F.removeCriteria = function(field){
252252
}
253253
});
254254

255-
if(index){
255+
if(index != null){
256256
criteria = this.criterias.splice(index, 1)[0];
257257
$('body').off(criteria.event, criteria.ele)
258258
}

0 commit comments

Comments
 (0)