From 74a9aa2e498dbe108db4200ababd9c12b185a86f Mon Sep 17 00:00:00 2001 From: coderaiser Date: Thu, 19 Jun 2014 06:13:33 -0400 Subject: [PATCH] refactor(dom) setCurrentSize: rm getShortSize --- lib/client/dom.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/client/dom.js b/lib/client/dom.js index 4e4e7c80..6cca14f9 100644 --- a/lib/client/dom.js +++ b/lib/client/dom.js @@ -729,10 +729,9 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog; */ this.setCurrentSize = function(size, currentFile) { var current = currentFile || this.getCurrentFile(), - sizeElement = this.getByClass('size', current), - sizeShort = CloudFunc.getShortSize(size); + sizeElement = this.getByClass('size', current); - sizeElement.textContent = sizeShort; + sizeElement.textContent = size; };