Removed dangling console.log

This commit is contained in:
Marcin Kurczewski 2014-11-22 14:04:40 +01:00
parent 0b032e7f94
commit 58d3129548

View file

@ -442,7 +442,6 @@ App.Presenters.PostUploadPresenter = function(
function setPostsSource(posts, newSource) { function setPostsSource(posts, newSource) {
_.each(posts, function(post) { _.each(posts, function(post) {
var maxSourceLength = 200; var maxSourceLength = 200;
console.log(newSource);
if (newSource.length > maxSourceLength) { if (newSource.length > maxSourceLength) {
newSource = newSource.substring(0, maxSourceLength - 5) + '(...)'; newSource = newSource.substring(0, maxSourceLength - 5) + '(...)';
} }