Explorar o código

Fix typing mistake: "fasle" instead of "false"

Thierry Régagnon %!s(int64=12) %!d(string=hai) anos
pai
achega
9fd6f12380
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      select2.js

+ 1 - 1
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");
     }