Dropdown doesn't hide when clicking bookmark menu item in MUC
This commit is contained in:
parent
d325059c28
commit
0f33960d5e
@ -100,10 +100,7 @@ converse.plugins.add('converse-bookmark-views', {
|
||||
},
|
||||
|
||||
toggleBookmark (ev) {
|
||||
if (ev) {
|
||||
ev.preventDefault();
|
||||
ev.stopPropagation();
|
||||
}
|
||||
ev?.preventDefault();
|
||||
const models = _converse.bookmarks.where({'jid': this.model.get('jid')});
|
||||
if (!models.length) {
|
||||
this.renderBookmarkForm();
|
||||
|
Loading…
Reference in New Issue
Block a user