diff options
author | Joas Schilling <coding@schilljs.com> | 2016-11-16 11:39:06 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-11-16 12:20:03 +0100 |
commit | 8105ba99297222b7db97b556a55f306c3f7cabc0 (patch) | |
tree | e0392886e9326015a690d31461394b5ea7c64d6f /apps/comments/js | |
parent | 81e9836900139d2fda65fa833e735a62e637ab3b (diff) | |
download | nextcloud-server-8105ba99297222b7db97b556a55f306c3f7cabc0.tar.gz nextcloud-server-8105ba99297222b7db97b556a55f306c3f7cabc0.zip |
Move comments activities to the new API
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/comments/js')
-rw-r--r-- | apps/comments/js/activitytabviewplugin.js | 2 |
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); |