From 741081fc276a6047c133155ea068585d0144c405 Mon Sep 17 00:00:00 2001 From: Zixaphir Date: Sun, 11 May 2014 17:54:49 -0700 Subject: [PATCH] Unnecessary. --- builds/4chan-X.user.js | 4 ++-- builds/crx/script.js | 4 ++-- src/Posting/QR.post.coffee | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index d5fb8a0b2..16c89af6a 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -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) { diff --git a/builds/crx/script.js b/builds/crx/script.js index 56b8a44aa..39773e6f4 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -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) { diff --git a/src/Posting/QR.post.coffee b/src/Posting/QR.post.coffee index ad6c38cdc..3ce11883c 100644 --- a/src/Posting/QR.post.coffee +++ b/src/Posting/QR.post.coffee @@ -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')