From: Robin Appelman Date: Wed, 30 Nov 2016 13:54:54 +0000 (+0100) Subject: remove js debug statements in sidebar text preview generator X-Git-Tag: v11.0RC2~79^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F2422%2Fhead;p=nextcloud-server.git remove js debug statements in sidebar text preview generator Signed-off-by: Robin Appelman --- 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)); } };