Fix webm PDF bug

This commit is contained in:
Zixaphir 2014-04-04 15:44:11 -07:00
parent e4c395a7cd
commit 372c54068c
3 changed files with 3 additions and 3 deletions

View File

@ -11559,7 +11559,7 @@
return FileInfo.convertUnit(this.file.sizeInBytes, 'MB');
},
r: function() {
if (this.file.isImage) {
if (this.file.isImage || this.file.isVideo) {
return this.file.dimensions;
} else {
return 'PDF';

View File

@ -11575,7 +11575,7 @@
return FileInfo.convertUnit(this.file.sizeInBytes, 'MB');
},
r: function() {
if (this.file.isImage) {
if (this.file.isImage || this.file.isVideo) {
return this.file.dimensions;
} else {
return 'PDF';

View File

@ -47,4 +47,4 @@ FileInfo =
B: -> FileInfo.convertUnit @file.sizeInBytes, 'B'
K: -> FileInfo.convertUnit @file.sizeInBytes, 'KB'
M: -> FileInfo.convertUnit @file.sizeInBytes, 'MB'
r: -> if @file.isImage then @file.dimensions else 'PDF'
r: -> if @file.isImage or @file.isVideo then @file.dimensions else 'PDF'