summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/js
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-11-29 20:48:03 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2016-11-29 20:48:03 +0100
commit66a77a885786cc8362c162cdb45564c9757c05a4 (patch)
treec9ddc2ab66666f01d23331a131a536d0a221da22 /apps/files_versions/js
parent4dcd0474d58bbcbea742948a03d3f26103f3933b (diff)
downloadnextcloud-server-66a77a885786cc8362c162cdb45564c9757c05a4.tar.gz
nextcloud-server-66a77a885786cc8362c162cdb45564c9757c05a4.zip
Fix js tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_versions/js')
-rw-r--r--apps/files_versions/js/versionstabview.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/files_versions/js/versionstabview.js b/apps/files_versions/js/versionstabview.js
index 075e0e9cddb..a91366fd40a 100644
--- a/apps/files_versions/js/versionstabview.js
+++ b/apps/files_versions/js/versionstabview.js
@@ -254,15 +254,12 @@
* @param etag file etag (for caching)
*/
_lazyLoadPreview : function(options) {
- var self = this;
var url = options.url;
var mime = options.mime;
var ready = options.callback;
// get mime icon url
var iconURL = OC.MimeType.getIconUrl(mime);
- var previewURL,
- urlSpec = {};
ready(iconURL); // set mimeicon URL
var img = new Image();