Forráskód Böngészése

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

Thierry Régagnon 12 éve
szülő
commit
9fd6f12380
1 módosított fájl, 1 hozzáadás és 1 törlés
  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");
     }