Fixed frontend crashing when database is empty

This commit is contained in:
Marcin Kurczewski
2014-10-10 18:13:46 +02:00
parent d2695e635c
commit 0811968718
23 changed files with 102 additions and 40 deletions

View File

@ -83,7 +83,10 @@ App.Presenters.PostPresenter = function(
topNavigationPresenter.changeTitle('@' + post.id);
render();
loaded();
}).fail(loaded);
}).fail(function() {
console.log(arguments);
loaded();
});
}
function attachLinksToPostsAround() {