Skip to content

Commit

Permalink
Merge pull request #485 from lisandropuzzolo/patch-1
Browse files Browse the repository at this point in the history
Update select2.js
  • Loading branch information
ivaynberg committed Oct 10, 2012
2 parents 1dd511e + da41457 commit c4e00c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion select2.js
Expand Up @@ -2151,7 +2151,7 @@ the specific language governing permissions and limitations under the Apache Lic
});

compound.each2(function(i, e) {
if (e.find(".select2-result-selectable").length==0) {
if (!e.is('.select2-result-selectable') && e.find(".select2-result-selectable").length==0) { // FIX FOR HIRECHAL DATA
e.addClass("select2-disabled");
} else {
e.removeClass("select2-disabled");
Expand Down

0 comments on commit c4e00c6

Please sign in to comment.