summaryrefslogtreecommitdiffstats
path: root/apps/comments/js
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-04-26 15:18:55 +0200
committerJoas Schilling <coding@schilljs.com>2016-10-05 14:21:26 +0200
commited70d4a2dcf5218fe48b22d31e4ceb2968a46ef7 (patch)
tree63bad8ea44bf1ff750ac651c2ee28600328137fa /apps/comments/js
parentbd0c9489f683b9638842cb7ab197c0f6438df917 (diff)
downloadnextcloud-server-ed70d4a2dcf5218fe48b22d31e4ceb2968a46ef7.tar.gz
nextcloud-server-ed70d4a2dcf5218fe48b22d31e4ceb2968a46ef7.zip
Mark the methods as copied
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'apps/comments/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;