From c53b2dcf11f28d8106a7b7684f503be7cda0b6a1 Mon Sep 17 00:00:00 2001 From: Kevin Brown Date: Mon, 9 Nov 2015 18:13:02 -0500 Subject: [PATCH] Fixed incorrect classes on "Loading more results" message This fixes an issue where the old `option` and `load-more` classes were not switched over to the newer BEM style of class names. Unfortunately this is a breaking change, but this is also a bug given that it doesn't follow the proper prefixing and is likely to conflict with larger applications. https://github.com/select2/select2/issues/3889 --- src/js/select2/dropdown/infiniteScroll.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/js/select2/dropdown/infiniteScroll.js b/src/js/select2/dropdown/infiniteScroll.js index be4d84e4..41d85de0 100644 --- a/src/js/select2/dropdown/infiniteScroll.js +++ b/src/js/select2/dropdown/infiniteScroll.js @@ -73,7 +73,9 @@ define([ InfiniteScroll.prototype.createLoadingMore = function () { var $option = $( - '
  • ' + '
  • ' ); var message = this.options.get('translations').get('loadingMore');