We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f941b4 commit 4188b26Copy full SHA for 4188b26
src/plugins/muc-views/modals/muc-list.js
@@ -111,7 +111,10 @@ export default class MUCListModal extends BaseModal {
111
}
112
113
onDomainChange () {
114
- this.querySelector('form-control').value = this.model.get('muc_domain');
+ const domain_input = this.querySelector('form-control');
115
+ if (domain_input) {
116
+ /** @type {HTMLInputElement} */(domain_input).value = this.model.get('muc_domain');
117
+ }
118
this.items = [];
119
this.model.save('feedback_text', '');
120
api.settings.get('auto_list_rooms') && this.updateRoomsList();
0 commit comments