summaryrefslogtreecommitdiffstats
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.js8
1 files changed, 5 insertions, 3 deletions
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;