From ca9b55fadb15c7f747d87662cc228b5255fd6d7a Mon Sep 17 00:00:00 2001 From: Edwin Vlieg Date: Wed, 11 Sep 2013 12:58:05 +0200 Subject: [PATCH] Remove negative selector for `.select2-selected` This broke scroll behaviour when displaying the selected items in the dropdown. --- select2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2.js b/select2.js index 8592d687..8345f134 100644 --- a/select2.js +++ b/select2.js @@ -1402,7 +1402,7 @@ the specific language governing permissions and limitations under the Apache Lic // abstract findHighlightableChoices: function() { - return this.results.find(".select2-result-selectable:not(.select2-selected):not(.select2-disabled)"); + return this.results.find(".select2-result-selectable:not(.select2-disabled)"); }, // abstract