Refactor on unstyled ripple check
parent
3628e2fd8c
commit
aa34254aa7
|
@ -2478,10 +2478,10 @@ export default {
|
|||
cell = DomHandler.findSingle(this.overlay, 'span[data-p-highlight="true"]');
|
||||
|
||||
if (!cell) {
|
||||
let todayCell = DomHandler.findSingle(this.overlay, 'td.p-datepicker-today span:not(.p-disabled):not(.p-ink)');
|
||||
let todayCell = DomHandler.findSingle(this.overlay, 'td.p-datepicker-today span:not([data-p-disabled="true"]):not([data-p-ink="true"])');
|
||||
|
||||
if (todayCell) cell = todayCell;
|
||||
else cell = DomHandler.findSingle(this.overlay, '.p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)');
|
||||
else cell = DomHandler.findSingle(this.overlay, '.p-datepicker-calendar td span:not([data-p-disabled="true"]):not([data-p-ink="true"])');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue