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', {
},
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();
......
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