Fix racecondition during loading of comments

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2018-10-08 20:24:01 +02:00
parent 3e8451e1e1
commit 3a36f7da2f
2 changed files with 24 additions and 2 deletions

View File

@@ -56,6 +56,10 @@ class ActivityController {
let $target = $('.newCommentForm .message');
this.applyAtWho($target);
this.activityservice.subscribe(this.$scope, function() {
self.$scope.$apply();
})
}
applyAtWho($target) {