diff --git a/select2.js b/select2.js index c3de0af1..49479344 100644 --- a/select2.js +++ b/select2.js @@ -1571,9 +1571,7 @@ the specific language governing permissions and limitations under the Apache Lic } if (data.results.length === 0 && checkFormatter(opts.formatNoMatches, "formatNoMatches")) { - if (results.find(".select2-no-results").length === 0) { - render("
  • " + opts.formatNoMatches(search.val()) + "
  • "); - } + render("
  • " + opts.formatNoMatches(search.val()) + "
  • "); return; }