Skip to content

Commit 95dcb54

Browse files
committed
Squashed commit of the following:
commit 3c70032 Author: amacou <[email protected]> Date: Tue Jul 23 15:05:23 2019 +0900 Fix getClasses function's filter works contrawise. Fixes Bttstrp#711
1 parent 2b316be commit 95dcb54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/bootstrap-switch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function getClasses(options, id) {
1212
indeterminate ? 'indeterminate' : undefined,
1313
inverse ? 'inverse' : undefined,
1414
id ? `id-${id}` : undefined,
15-
].filter(v => v == null);
15+
].filter(v => v != null);
1616
}
1717

1818

0 commit comments

Comments
 (0)