summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-11-30 15:39:59 +0100
committerGitHub <noreply@github.com>2016-11-30 15:39:59 +0100
commitd7dd399bbda8da55f46db6e8f825bf282efbec52 (patch)
tree1d3366b3007d34c7c5d2228baf588655348a68f0 /apps/files
parentf075c22c7279a1602be110ac6d8b199e4f7816c7 (diff)
parent7fc118e8ea4cac9cedd5f4c77b17f7bdadc5e495 (diff)
downloadnextcloud-server-d7dd399bbda8da55f46db6e8f825bf282efbec52.tar.gz
nextcloud-server-d7dd399bbda8da55f46db6e8f825bf282efbec52.zip
Merge pull request #2422 from nextcloud/text-preview-debug
remove js debug statements in sidebar text preview generator
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/js/sidebarpreviewtext.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/files/js/sidebarpreviewtext.js b/apps/files/js/sidebarpreviewtext.js
index 5af17bd5551..a19a349701b 100644
--- a/apps/files/js/sidebarpreviewtext.js
+++ b/apps/files/js/sidebarpreviewtext.js
@@ -18,7 +18,6 @@
},
handlePreview: function (model, $thumbnailDiv, $thumbnailContainer, fallback) {
- console.log(model);
var previewWidth = $thumbnailContainer.parent().width() + 50; // 50px for negative margins
var previewHeight = previewWidth / (16 / 9);
@@ -36,10 +35,7 @@
},
getFileContent: function (path) {
- console.log(path);
- var url = OC.linkToRemoteBase('files' + path);
- console.log(url);
- return $.get(url);
+ return $.get(OC.linkToRemoteBase('files' + path));
}
};