Commit 5e320d03 authored by JC Brand's avatar JC Brand

Don't remove the minimized chats element upon logout

parent 33cfe073
......@@ -536,7 +536,6 @@
const new_html = tpl_chatbox_minimize(
{info_minimize: __('Minimize this chat box')}
);
const el = view.el.querySelector('.toggle-chatbox-button');
if (el) {
el.outerHTML = new_html;
......@@ -553,11 +552,6 @@
_converse.chatboxviews.trimChats(chatbox);
}
});
const logOut = function () {
_converse.minimized_chats.remove();
};
_converse.on('logout', logOut);
}
});
}));
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