Skip to content

Commit

Permalink
fix select2#4584 step2
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Markelov committed Oct 11, 2016
1 parent 7887d44 commit dad6a50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/js/select2/results.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,8 @@ define([
}

self.setClasses();
if (!(self.options.get('multiple') && !self.options.get('closeOnSelect'))) {
if (!(self.options.get('multiple') &&
!self.options.get('closeOnSelect'))) {
self.highlightFirstItem();
}
});
Expand Down

0 comments on commit dad6a50

Please sign in to comment.