File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -1076,6 +1076,7 @@ export class Datepicker extends Component<DatepickerOptions> {
1076
1076
maxYear = opts . maxYear ,
1077
1077
minMonth = opts . minMonth ,
1078
1078
maxMonth = opts . maxMonth ;
1079
+ let html = '' ;
1079
1080
1080
1081
if ( this . _y <= minYear ) {
1081
1082
this . _y = minYear ;
@@ -1090,19 +1091,12 @@ export class Datepicker extends Component<DatepickerOptions> {
1090
1091
}
1091
1092
}
1092
1093
1093
- setTimeout ( ( ) => {
1094
- this . drawHTML ( ) ;
1095
- } , 10 ) ;
1096
- }
1097
-
1098
- drawHTML ( ) {
1099
1094
const randId =
1100
1095
'datepicker-title-' +
1101
1096
Math . random ( )
1102
1097
. toString ( 36 )
1103
1098
. replace ( / [ ^ a - z ] + / g, '' )
1104
1099
. substr ( 0 , 2 ) ;
1105
- let html = '' ;
1106
1100
1107
1101
for ( let c = 0 ; c < 1 ; c ++ ) {
1108
1102
if ( ! this . options . isDateRange ) {
You can’t perform that action at this time.
0 commit comments