Pārlūkot izejas kodu

Merge pull request #2326 from dawnhammond/feature/2084

Fix issue with dropdown menu getting stuck in IE when using multiselect
Kevin Brown 11 gadi atpakaļ
vecāks
revīzija
c864392ffb
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      select2.js

+ 1 - 0
select2.js

@@ -2651,6 +2651,7 @@ the specific language governing permissions and limitations under the Apache Lic
                 .attr('for', this.search.attr('id'));
 
             this.search.on("input paste", this.bind(function() {
+                if (this.search.attr('placeholder') && this.search.val().length == 0) return;
                 if (!this.isInterfaceEnabled()) return;
                 if (!this.opened()) {
                     this.open();