members.bind("add", function (member) {\r
var show_message = _kiwi.global.settings.get('show_joins_parts');\r
if (show_message === false) {\r
- // TODO: This might be better off being moved to the view at some point.\r
- if (member.get('nick') === that.collection.network.get('nick')) {\r
- this.view.$el.find('.initial_loader').slideUp(function () {\r
- $(this).remove();\r
- });\r
- }\r
return;\r
}\r
\r
initialize: function (options) {\r
this.initializePanel(options);\r
this.model.bind('change:topic', this.topic, this);\r
+ this.model.get('members').bind('add', function (member) {\r
+ if (member.get('nick') === that.collection.network.get('nick')) {\r
+ this.view.$el.find('.initial_loader').slideUp(function () {\r
+ $(this).remove();\r
+ });\r
+ }\r
+ }, this);\r
\r
// Only show the loader if this is a channel (ie. not a query)\r
if (this.model.isChannel()) {\r