Igor Vaynberg 12 rokov pred
rodič
commit
ee01ab79ad
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      select2.js

+ 1 - 1
select2.js

@@ -1218,7 +1218,7 @@ the specific language governing permissions and limitations under the Apache Lic
                 }
                 return;
             }
-            else if (opts.formatSearching()) {
+            else if (opts.formatSearching() && initial===true) {
                 render("<li class='select2-searching'>" + opts.formatSearching() + "</li>");
             }