Browse Source

Merge pull request #313 from tregagnon/master

Fix typing mistake
Igor Vaynberg 12 years ago
parent
commit
1e9cfc762f
1 changed files with 1 additions and 1 deletions
  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");
     }