Преглед на файлове

Merge pull request #1111 from lazyhammer/fix-choice-focus

Fix focus issue on multi-value select (closes #1109)
Igor Vaynberg преди 12 години
родител
ревизия
d3fc101ccb
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      select2.js

+ 1 - 0
select2.js

@@ -2194,6 +2194,7 @@ the specific language governing permissions and limitations under the Apache Lic
             this.search.bind("blur", this.bind(function(e) {
                 this.container.removeClass("select2-container-active");
                 this.search.removeClass("select2-focused");
+                this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus");
                 if (!this.opened()) this.clearSearch();
                 e.stopImmediatePropagation();
             }));