datetime-picker.js: Only handle content inside top-level or modal containers

This commit is contained in:
Johannes Meyer 2022-02-07 14:13:40 +01:00
parent 29d0b8f2c7
commit 67da4ea757
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@
*/ */
this._pickers = new Map(); this._pickers = new Map();
this.on('rendered', this.onRendered, this); this.on('rendered', '#main > .container, #modal-content', this.onRendered, this);
this.on('close-column', this.onCloseContainer, this); this.on('close-column', this.onCloseContainer, this);
this.on('close-modal', this.onCloseContainer, this); this.on('close-modal', this.onCloseContainer, this);
}; };