Skip to content

Commit 3b21c93

Browse files
committed
Update bootstrap-datetimepicker.js
Typo fix
1 parent a6f7df9 commit 3b21c93

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)