/* * vim: ts=4:sw=4:expandtab */ (function () { 'use strict'; window.Whisper = window.Whisper || {}; Whisper.ConversationListView = Whisper.ListView.extend({ tagName: 'div', itemView: Whisper.ConversationListItemView, moveToTop: function(conversation) { var $el = this.$('.' + conversation.cid); if ($el && $el.length > 0) { $el.prependTo(this.el); } } }); })();