From ed70d4a2dcf5218fe48b22d31e4ceb2968a46ef7 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 26 Apr 2016 15:18:55 +0200 Subject: Mark the methods as copied Signed-off-by: Lukas Reschke --- apps/comments/js/activitytabviewplugin.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'apps/comments/js') diff --git a/apps/comments/js/activitytabviewplugin.js b/apps/comments/js/activitytabviewplugin.js index a087bf1279f..6ea5a3610ef 100644 --- a/apps/comments/js/activitytabviewplugin.js +++ b/apps/comments/js/activitytabviewplugin.js @@ -34,6 +34,9 @@ } }, + /* + * Copy of CommentsTabView._onClickComment() + */ _onClickCollapsedComment: function(ev) { var $row = $(ev.target); if (!$row.is('.comment')) { @@ -42,9 +45,8 @@ $row.removeClass('collapsed'); }, - /** - * Returns whether the given message is long and needs - * collapsing + /* + * Copy of CommentsTabView._isLong() */ _isLong: function(message) { return message.length > 250 || (message.match(/\n/g) || []).length > 1; -- cgit v1.2.3