Skip to content

Commit e22cb78

Browse files
author
Eonasdan
committed
Merge pull request Eonasdan#1455 from arabov/patch-1
Update bootstrap-datetimepicker.js
2 parents 640e352 + 3b21c93 commit e22cb78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/bootstrap-datetimepicker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1524,7 +1524,7 @@
15241524
}
15251525

15261526
if ((typeof newFormat !== 'string') && ((typeof newFormat !== 'boolean') || (newFormat !== false))) {
1527-
throw new TypeError('format() expects a sting or boolean:false parameter ' + newFormat);
1527+
throw new TypeError('format() expects a string or boolean:false parameter ' + newFormat);
15281528
}
15291529

15301530
options.format = newFormat;

0 commit comments

Comments
 (0)