Merge pull request #2422 from nextcloud/text-preview-debug

remove js debug statements in sidebar text preview generator
This commit is contained in:
Robin Appelman 2016-11-30 15:39:59 +01:00 committed by GitHub
commit d7dd399bbd
1 changed files with 1 additions and 5 deletions

View 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);
@ -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));
}
};