From f96545b2297400d9a7d1210073f2052ec8c854eb Mon Sep 17 00:00:00 2001 From: laantorchaweb Date: Sun, 15 Mar 2015 17:47:07 -0300 Subject: [PATCH] fix #1562 now the behavior is the same as the proto version --- coffee/chosen.jquery.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/coffee/chosen.jquery.coffee b/coffee/chosen.jquery.coffee index 6fae2d4a21b..cbd2edce177 100644 --- a/coffee/chosen.jquery.coffee +++ b/coffee/chosen.jquery.coffee @@ -345,6 +345,8 @@ class Chosen extends AbstractChosen else this.reset_single_select_options() + high.addClass("result-selected") + item = @results_data[ high[0].getAttribute("data-option-array-index") ] item.selected = true