Fix attachment previews for audio/video files

This commit is contained in:
lilia 2015-03-02 18:27:14 -08:00
parent 6fe262ceed
commit 1311f7c9ae
4 changed files with 33 additions and 7 deletions

View file

@ -18,7 +18,7 @@ var Whisper = Whisper || {};
(function () {
'use strict';
Whisper.AttachmentPreviewView = Backbone.View.extend({
className: 'imageAttachment',
className: 'attachment-preview',
initialize: function() {
this.template = $('#attachment-preview').html();
Mustache.parse(this.template);