File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ export default {
151
151
},
152
152
handleCellClick (evt ) {
153
153
let { target } = evt;
154
- if (target .tagName === ' DIV' ) {
154
+ if (target .tagName . toUpperCase () === ' DIV' ) {
155
155
target = target .parentNode ;
156
156
}
157
157
const date = target .getAttribute (' data-date' );
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ export default {
88
88
},
89
89
handleClick (evt ) {
90
90
let { target } = evt;
91
- if (target .tagName === ' DIV' ) {
91
+ if (target .tagName . toUpperCase () === ' DIV' ) {
92
92
target = target .parentNode ;
93
93
}
94
94
const month = target .getAttribute (' data-month' );
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ export default {
91
91
},
92
92
handleClick (evt ) {
93
93
let { target } = evt;
94
- if (target .tagName === ' DIV' ) {
94
+ if (target .tagName . toUpperCase () === ' DIV' ) {
95
95
target = target .parentNode ;
96
96
}
97
97
const year = target .getAttribute (' data-year' );
You can’t perform that action at this time.
0 commit comments