Skip to content

Commit 947ce9b

Browse files
authored
Update fast-search-card.js
1 parent 69facee commit 947ce9b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dist/fast-search-card.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9076,7 +9076,9 @@ class FastSearchCard extends HTMLElement {
90769076
await this.createActionTimer(item, action, totalMinutes);
90779077

90789078
// Schließe den Picker
9079-
const parentContainer = this.shadowRoot.querySelector('.minimal-time-picker').closest('.shortcuts-tab-content');
9079+
const timePickerElement = this.shadowRoot.querySelector('.minimal-time-picker');
9080+
const parentContainer = timePickerElement.closest('.accordion-content') ||
9081+
timePickerElement.closest('.shortcuts-tab-content');
90809082
this.closeMinimalTimePicker(parentContainer);
90819083

90829084
// Warte kurz und lade dann die Timer-Liste neu

0 commit comments

Comments
 (0)