Browse Source

fix(docs): Fix URL to docs of deprecated function humanFileSize

Signed-off-by: Joas Schilling <coding@schilljs.com>
Joas Schilling 1 year ago
parent
commit
188e486bc0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      core/src/OC/util.js

+ 2 - 2
core/src/OC/util.js

@@ -64,7 +64,7 @@ export default {
 	History,
 
 	/**
-	 * @deprecated use https://nextcloud.github.io/nextcloud-files/modules/_humanfilesize_.html#formatfilesize
+	 * @deprecated use https://nextcloud.github.io/nextcloud-files/functions/formatFileSize.html
 	 */
 	humanFileSize,
 
@@ -73,7 +73,7 @@ export default {
 	 * Makes 2kB to 2048.
 	 * Inspired by computerFileSize in helper.php
 	 *
-	 * @param  {string} string file size in human readable format
+	 * @param  {string} string file size in human-readable format
 	 * @return {number} or null if string could not be parsed
 	 *
 	 *