aboutsummaryrefslogtreecommitdiffstats
path: root/apps/comments/js/activitytabviewplugin.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/comments/js/activitytabviewplugin.js')
-rw-r--r--apps/comments/js/activitytabviewplugin.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/comments/js/activitytabviewplugin.js b/apps/comments/js/activitytabviewplugin.js
index ca3253bd137..b6195b80c45 100644
--- a/apps/comments/js/activitytabviewplugin.js
+++ b/apps/comments/js/activitytabviewplugin.js
@@ -25,7 +25,7 @@
if (view === 'ActivityTabView') {
$el.addClass('comment');
- if (this._isLong(model.get('message_prepared'))) {
+ if (model.get('message') && this._isLong(model.get('message'))) {
$el.addClass('collapsed');
var $overlay = $('<div>').addClass('message-overlay');
$el.find('.activitymessage').after($overlay);