diff --git a/select2.js b/select2.js index af4a1993..8fd0c499 100755 --- a/select2.js +++ b/select2.js @@ -396,7 +396,7 @@ */ function checkFormatter(formatter, formatterName) { if ($.isFunction(formatter)) return true; - if (!formatter) return fasle; + if (!formatter) return false; throw new Error("formatterName must be a function or a falsy value"); }