Skip to content

Commit 9fd6f12

Browse files
author
Thierry Régagnon
committed
Fix typing mistake: "fasle" instead of "false"
1 parent 289226c commit 9fd6f12

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

select2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@
396396
*/
397397
function checkFormatter(formatter, formatterName) {
398398
if ($.isFunction(formatter)) return true;
399-
if (!formatter) return fasle;
399+
if (!formatter) return false;
400400
throw new Error("formatterName must be a function or a falsy value");
401401
}
402402

0 commit comments

Comments
 (0)