Refactor on unstyled ripple check

pull/4468/head
Tuğçe Küçükoğlu 2023-09-18 10:59:33 +03:00
parent 3628e2fd8c
commit aa34254aa7
1 changed files with 2 additions and 2 deletions

View File

@ -2478,10 +2478,10 @@ export default {
cell = DomHandler.findSingle(this.overlay, 'span[data-p-highlight="true"]'); cell = DomHandler.findSingle(this.overlay, 'span[data-p-highlight="true"]');
if (!cell) { 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; 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"])');
} }
} }