diff options
author | Robin Appelman <robin@icewind.nl> | 2016-11-30 14:54:54 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2016-11-30 14:54:54 +0100 |
commit | 7fc118e8ea4cac9cedd5f4c77b17f7bdadc5e495 (patch) | |
tree | 20de9aa39d07531d9062c065a1292f563b9c74ec /apps/files | |
parent | f15ea9ec05a035ea5cdf03a8df701a8bc60ee38f (diff) | |
download | nextcloud-server-7fc118e8ea4cac9cedd5f4c77b17f7bdadc5e495.tar.gz nextcloud-server-7fc118e8ea4cac9cedd5f4c77b17f7bdadc5e495.zip |
remove js debug statements in sidebar text preview generator
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/js/sidebarpreviewtext.js | 6 |
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)); } }; |