Skip to content
This repository was archived by the owner on Dec 26, 2019. It is now read-only.

Commit 20bcf85

Browse files
committed
Set language: undefined if not defined
Setting language: null causes error in bootstrap-datepicker plugin
1 parent 434c068 commit 20bcf85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addon/components/datepicker-support.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default Ember.Mixin.create({
2626
format: this.get('format'),
2727
immediateUpdates: this.get('immediateUpdates'),
2828
keyboardNavigation: this.get('keyboardNavigation'),
29-
language: this.get('language'),
29+
language: this.get('language') || undefined,
3030
maxViewMode: this.get('maxViewMode'),
3131
minViewMode: this.get('minViewMode'),
3232
multidate: this.get('multidate'),

0 commit comments

Comments
 (0)