mirror of
https://github.com/nextcloud/server.git
synced 2026-04-24 15:53:36 -04:00
Mark the methods as copied
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
bd0c9489f6
commit
ed70d4a2dc
1 changed files with 5 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue