nicklist + inline nick event names consistency
authorDarren <darren@darrenwhitlen.com>
Fri, 28 Nov 2014 18:01:40 +0000 (18:01 +0000)
committerDarren <darren@darrenwhitlen.com>
Fri, 28 Nov 2014 18:01:40 +0000 (18:01 +0000)
client/src/views/channel.js

index 8e0e5b5cda25421f3d3450dd7ed1bcadc5bd92ba..4c9161709fc7e6a82e08d004051c267171992a15 100644 (file)
@@ -414,7 +414,7 @@ _kiwi.view.Channel = _kiwi.view.Panel.extend({
         menubox.addItem('userbox', userbox.$el);
         menubox.showFooter(false);
 
-        _kiwi.global.events.emit('usermenu:created', {menu: menu, userbox: userbox})
+        _kiwi.global.events.emit('usermenu:created', {menu: menubox, userbox: userbox})
         .then(_.bind(function() {
             menubox.show();