]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove js debug statements in sidebar text preview generator 2422/head
authorRobin Appelman <robin@icewind.nl>
Wed, 30 Nov 2016 13:54:54 +0000 (14:54 +0100)
committerRobin Appelman <robin@icewind.nl>
Wed, 30 Nov 2016 13:54:54 +0000 (14:54 +0100)
Signed-off-by: Robin Appelman <robin@icewind.nl>
apps/files/js/sidebarpreviewtext.js

index 5af17bd55519e47e94414ce914d415b9b5d86f4b..a19a349701bac229ce7aece35f8c036804a8c77c 100644 (file)
@@ -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);
 
                },
 
                getFileContent: function (path) {
-                       console.log(path);
-                       var url = OC.linkToRemoteBase('files' + path);
-                       console.log(url);
-                       return $.get(url);
+                       return $.get(OC.linkToRemoteBase('files' + path));
                }
        };