Backbone.ModelBinder icon indicating copy to clipboard operation
Backbone.ModelBinder copied to clipboard

ElManagerFactory.isElContained incorrect return statement

Open eld0727 opened this issue 10 years ago • 0 comments
trafficstars

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;
}

eld0727 avatar Oct 26 '15 09:10 eld0727