Unnecessary.
This commit is contained in:
parent
1d13bffa7c
commit
741081fc27
@ -7495,8 +7495,8 @@
|
||||
return this.setThumbnail();
|
||||
};
|
||||
|
||||
_Class.prototype.setThumbnail = function(el) {
|
||||
var fileURL, isVideo;
|
||||
_Class.prototype.setThumbnail = function() {
|
||||
var el, fileURL, isVideo;
|
||||
isVideo = /^video\//.test(this.file.type);
|
||||
el = $.el((isVideo ? 'video' : 'img'));
|
||||
$.on(el, (isVideo ? 'loadeddata' : 'load'), (function(_this) {
|
||||
|
||||
@ -7536,8 +7536,8 @@
|
||||
return this.setThumbnail();
|
||||
};
|
||||
|
||||
_Class.prototype.setThumbnail = function(el) {
|
||||
var fileURL, isVideo;
|
||||
_Class.prototype.setThumbnail = function() {
|
||||
var el, fileURL, isVideo;
|
||||
isVideo = /^video\//.test(this.file.type);
|
||||
el = $.el((isVideo ? 'video' : 'img'));
|
||||
$.on(el, (isVideo ? 'loadeddata' : 'load'), (function(_this) {
|
||||
|
||||
@ -171,7 +171,7 @@ QR.post = class
|
||||
return
|
||||
@setThumbnail()
|
||||
|
||||
setThumbnail: (el) ->
|
||||
setThumbnail: ->
|
||||
# Create a redimensioned thumbnail.
|
||||
isVideo = /^video\//.test @file.type
|
||||
el = $.el (if isVideo then 'video' else 'img')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user