Skip to content

Commit

Permalink
- [x] Add back the population of the context.cardtitle for the pop-up…
Browse files Browse the repository at this point in the history
…s to solve #1003
  • Loading branch information
MrBearPresident committed Dec 28, 2024
1 parent 8826683 commit aa9514b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cards/pop-up/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ export function prepareStructure(context) {
context.sectionRowContainer = context.sectionRow?.parentElement;
context.popUp = context.verticalStack.querySelector('#root');
context.popUp.classList.add('bubble-pop-up', 'pop-up', 'is-popup-closed');
context.cardTitle = context.verticalStack.querySelector('.card-header');
if (!context.editor && !context.config.background_update) {
context.verticalStack.removeChild(context.popUp);
}
Expand Down

0 comments on commit aa9514b

Please sign in to comment.