diff --git a/select2.js b/select2.js index faeac47a..211c5ed4 100644 --- a/select2.js +++ b/select2.js @@ -3052,7 +3052,7 @@ the specific language governing permissions and limitations under the Apache Lic formatted=this.opts.formatSelection(data, choice.find("div"), this.opts.escapeMarkup); if (formatted != undefined) { - choice.find("div").replaceWith("