I don't know how this error appears, just a strange thing happened.
A member anwsered my post, and notification start to give error:
post.discussion() is not a function
in:
/**
* Generate a URL to a post.
*
* @param {Post} post
* @return {String}
*/
app.route.post = function (post) {
return app.route.discussion(post.discussion(), post.number());
};
Value of two metions notification in this time is false, so, maybe is not loaded?
When another member anwsered the same post, the error is gone.
Anyone have tips or a solution?