Removed dangling console.log
This commit is contained in:
parent
0b032e7f94
commit
58d3129548
1 changed files with 0 additions and 1 deletions
|
@ -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) + '(...)';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue