Commit 0f33960d authored by JC Brand's avatar JC Brand

Dropdown doesn't hide when clicking bookmark menu item in MUC

parent d325059c
...@@ -100,10 +100,7 @@ converse.plugins.add('converse-bookmark-views', { ...@@ -100,10 +100,7 @@ converse.plugins.add('converse-bookmark-views', {
}, },
toggleBookmark (ev) { toggleBookmark (ev) {
if (ev) { ev?.preventDefault();
ev.preventDefault();
ev.stopPropagation();
}
const models = _converse.bookmarks.where({'jid': this.model.get('jid')}); const models = _converse.bookmarks.where({'jid': this.model.get('jid')});
if (!models.length) { if (!models.length) {
this.renderBookmarkForm(); this.renderBookmarkForm();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment