summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2013-07-18 22:15:26 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2013-07-18 22:15:26 +0200
commit48948ccf5f6f1d7de2765fb955f956063d9bedc8 (patch)
treea1f510db2a13aa3a446ee398a426c216eab5dfa2 /core/js
parent279a71acb37ac373703ed05050771ef971b5d9a1 (diff)
downloadnextcloud-server-48948ccf5f6f1d7de2765fb955f956063d9bedc8.tar.gz
nextcloud-server-48948ccf5f6f1d7de2765fb955f956063d9bedc8.zip
finally remove the file size obfuscation as it had more disadvantages. I was wrong, sorry.
Diffstat (limited to 'core/js')
-rw-r--r--core/js/js.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 5158b66d73a..cf4e72324dc 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -666,8 +666,6 @@ $(document).ready(function(){
$('.selectedActions a').tipsy({gravity:'s', fade:true, live:true});
$('a.delete').tipsy({gravity: 'e', fade:true, live:true});
$('a.action').tipsy({gravity:'s', fade:true, live:true});
- $('#headerSize').tipsy({gravity:'s', fade:true, live:true});
- $('td.filesize').tipsy({gravity:'s', fade:true, live:true});
$('td .modified').tipsy({gravity:'s', fade:true, live:true});
$('input').tipsy({gravity:'w', fade:true});
@@ -697,14 +695,6 @@ function humanFileSize(size) {
return relativeSize + ' ' + readableFormat;
}
-function simpleFileSize(bytes) {
- var mbytes = Math.round(bytes/(1024*1024/10))/10;
- if(bytes == 0) { return '0'; }
- else if(mbytes < 0.1) { return '< 0.1'; }
- else if(mbytes > 1000) { return '> 1000'; }
- else { return mbytes.toFixed(1); }
-}
-
function formatDate(date){
if(typeof date=='number'){
date=new Date(date);