aboutsummaryrefslogtreecommitdiffstats
path: root/core/src/OCP
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2022-01-10 14:06:28 +0100
committerLouis Chemineau <louis@chmn.me>2022-01-11 17:12:55 +0100
commitd92cbf51493f0aa15745d2f9545cba2372eecec3 (patch)
tree349a555a74c99b40c20fcc470c26b7f7c0029f8d /core/src/OCP
parent7484abb6c07f2296abc2040ecd747ddf1d65e98e (diff)
downloadnextcloud-server-d92cbf51493f0aa15745d2f9545cba2372eecec3.tar.gz
nextcloud-server-d92cbf51493f0aa15745d2f9545cba2372eecec3.zip
Typing corrections
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'core/src/OCP')
-rw-r--r--core/src/OCP/collaboration.js2
-rw-r--r--core/src/OCP/comments.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/src/OCP/collaboration.js b/core/src/OCP/collaboration.js
index 129440033e3..aae0c943f37 100644
--- a/core/src/OCP/collaboration.js
+++ b/core/src/OCP/collaboration.js
@@ -25,7 +25,7 @@ import escapeHTML from 'escape-html'
/**
* @typedef TypeDefinition
- * @function {callback} action This action is executed to let the user select a resource
+ * @function {Function} action This action is executed to let the user select a resource
* @param {string} icon Contains the icon css class for the type
* @function Object() { [native code] }
*/
diff --git a/core/src/OCP/comments.js b/core/src/OCP/comments.js
index 9f30557d231..0817302c067 100644
--- a/core/src/OCP/comments.js
+++ b/core/src/OCP/comments.js
@@ -26,7 +26,7 @@ import $ from 'jquery'
/*
* Detects links:
* Either the http(s) protocol is given or two strings, basically limited to ascii with the last
- * word being at least one digit long,
+ * word being at least one digit long,
* followed by at least another character
*
* The downside: anything not ascii is excluded. Not sure how common it is in areas using different