Commit 78b890ac authored by JC Brand's avatar JC Brand

Fix typo

parent bda70490
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
await test_utils.openControlBox(_converse); await test_utils.openControlBox(_converse);
const controlbox = _converse.chatboxviews.get('controlbox'); const controlbox = _converse.chatboxviews.get('controlbox');
let list = controlbox.el.querySelector('.list-container--openrooms'); let list = controlbox.el.querySelector('.list-container--openrooms');
expect(_.includes(list.classList, 'hidden')).toBeTruthy(); expect(u.hasClass('hidden', list)).toBeTruthy();
await test_utils.openChatRoom(_converse, 'room', 'conference.shakespeare.lit', 'JC'); await test_utils.openChatRoom(_converse, 'room', 'conference.shakespeare.lit', 'JC');
const lview = _converse.rooms_list_view const lview = _converse.rooms_list_view
......
...@@ -455,7 +455,7 @@ converse.plugins.add('converse-emoji-views', { ...@@ -455,7 +455,7 @@ converse.plugins.add('converse-emoji-views', {
_converse.api.listen.on('headlinesBoxInitialized', () => _converse.api.emojis.initialize()); _converse.api.listen.on('headlinesBoxInitialized', () => _converse.api.emojis.initialize());
_converse.api.listen.on('chatRoomInitialized', () => _converse.api.emojis.initialize()); _converse.api.listen.on('chatRoomInitialized', () => _converse.api.emojis.initialize());
_converse.api.listen.on('chatBox', () => _converse.api.emojis.initialize()); _converse.api.listen.on('chatBoxInitialized', () => _converse.api.emojis.initialize());
/************************ END Event Handlers ************************/ /************************ END Event Handlers ************************/
} }
......
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