Selaa lähdekoodia

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

Thierry Régagnon 12 vuotta sitten
vanhempi
commit
9fd6f12380
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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");
     }