1
0
mirror of synced 2024-11-23 05:26:10 +03:00

Fix selection first element from "postprocessResults" - exclude selected elements from highlightable elements

This commit is contained in:
Efremenko Roman 2013-10-06 17:02:03 +04:00
parent 435b2581ff
commit 9266d7cf55

View File

@ -1404,7 +1404,7 @@ the specific language governing permissions and limitations under the Apache Lic
// abstract // abstract
findHighlightableChoices: function() { findHighlightableChoices: function() {
return this.results.find(".select2-result-selectable:not(.select2-disabled)"); return this.results.find(".select2-result-selectable:not(.select2-disabled, .select2-selected)");
}, },
// abstract // abstract