timepicker: auto-add am/pm class when its set
This commit is contained in:
parent
e758eba1dd
commit
8cbef184f3
1 changed files with 3 additions and 1 deletions
|
@ -49,7 +49,9 @@
|
|||
var self = this;
|
||||
|
||||
if (this.$element.hasClass('time--12')) {
|
||||
this.showMeridian = true
|
||||
this.showMeridian = true;
|
||||
} else if(this.showMeridian) {
|
||||
this.$element.addClass('time--12');
|
||||
}
|
||||
|
||||
if (this.showWidgetOnAddonClick && (this.$element.parent().hasClass('input-append') || this.$element.parent().hasClass('input-prepend'))) {
|
||||
|
|
Loading…
Reference in a new issue