From 829b8c7346da54fc0b956f044b619887e88d1606 Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Mon, 13 Jan 2014 10:01:30 -0500 Subject: [PATCH] Changed default text for min number of characters. Use to read: Please enter 3 more characters. Now reads: Please enter 3 or more characters. --- select2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2.js b/select2.js index 0b813339..8040d281 100644 --- a/select2.js +++ b/select2.js @@ -3256,7 +3256,7 @@ the specific language governing permissions and limitations under the Apache Lic formatResultCssClass: function(data) {return data.css;}, formatSelectionCssClass: function(data, container) {return undefined;}, formatNoMatches: function () { return "No matches found"; }, - formatInputTooShort: function (input, min) { var n = min - input.length; return "Please enter " + n + " more character" + (n == 1? "" : "s"); }, + formatInputTooShort: function (input, min) { var n = min - input.length; return "Please enter " + n + " or more character" + (n == 1? "" : "s"); }, 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…"; },