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

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/37121/head
Joas Schilling 2 years ago
parent 11a0cb7f22
commit 188e486bc0
No known key found for this signature in database
GPG Key ID: 74434EFE0D2E2205
  1. 4
      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
*
*

Loading…
Cancel
Save