aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/filelist.js
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-02-07 17:08:50 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-03-09 13:31:50 +0100
commitbb1d8b318964b5b778e4c381db2f9ff281164384 (patch)
tree363ad7483868749111c6ba96b09dcf3f99ae751a /apps/files/js/filelist.js
parentac03f54079535fd9e047fbe3fbbe2a5768eb6e83 (diff)
downloadnextcloud-server-bb1d8b318964b5b778e4c381db2f9ff281164384.tar.gz
nextcloud-server-bb1d8b318964b5b778e4c381db2f9ff281164384.zip
Remove deprecated global variables
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/files/js/filelist.js')
-rw-r--r--apps/files/js/filelist.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 38b8dc54923..2ca4185ec86 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -1606,7 +1606,7 @@
// size column
if (typeof(fileData.size) !== 'undefined' && fileData.size >= 0) {
- simpleSize = humanFileSize(parseInt(fileData.size, 10), true);
+ simpleSize = OC.Util.humanFileSize(parseInt(fileData.size, 10), true);
// rgb(118, 118, 118) / #767676
// min. color contrast for normal text on white background according to WCAG AA
sizeColor = Math.round(118-Math.pow((fileData.size/(1024*1024)), 2));