theironcook / Backbone.ModelBinder

Simple, flexible and powerful Model-View binding for Backbone.
1.42k stars 159 forks source link

ElManagerFactory.isElContained incorrect return statement #228

Open eld0727 opened 9 years ago

eld0727 commented 9 years ago

Instead of

isElContained: function(findEl){
    return this._el === findEl || $(this._el).has(findEl).length > 0;
}

should be

isElContained: function(findEl){
    return this._el[0] === findEl || $(this._el).has(findEl).length > 0;
}