From 487b329893b72c7df8cda6170508a0fa162356bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6khan=20Sirin?= Date: Wed, 6 Aug 2014 18:24:48 +0200 Subject: [PATCH] IE and compat mode :/ Fixed 2 minor typos which prevent select2 to work in IE compat mode. --- select2.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/select2.js b/select2.js index fa4d21a7..a8dd665d 100644 --- a/select2.js +++ b/select2.js @@ -450,7 +450,7 @@ the specific language governing permissions and limitations under the Apache Lic hasError: true, jqXHR: jqXHR, textStatus: textStatus, - errorThrown: errorThrown, + errorThrown: errorThrown }; query.callback(results); @@ -3473,7 +3473,7 @@ the specific language governing permissions and limitations under the Apache Lic formatInputTooLong: function (input, max) { var n = input.length - max; return "Please delete " + n + " character" + (n == 1 ? "" : "s"); }, formatSelectionTooBig: function (limit) { return "You can only select " + limit + " item" + (limit == 1 ? "" : "s"); }, formatLoadMore: function (pageNumber) { return "Loading more results…"; }, - formatSearching: function () { return "Searching…"; }, + formatSearching: function () { return "Searching…"; } }; $.extend($.fn.select2.defaults, $.fn.select2.locales['en']);