From 0c7fad798c7d5041a5ccc9cc14873f846d8f2dac Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Tue, 14 May 2013 18:40:41 +0100 Subject: [PATCH] updateByte Display and showDisplay functions byteDisplay added as DOM elem ref updateByteDisplay added which sets the inner HTML to be the length of the content spilt by commas on thousands showDisplay function added to toggle between the 2 displays Call updateByteDisplay on switching tabs --- lib/ice-coder.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/lib/ice-coder.js b/lib/ice-coder.js index 46226db..955e988 100644 --- a/lib/ice-coder.js +++ b/lib/ice-coder.js @@ -32,7 +32,7 @@ var ICEcoder = { // Set our aliases initAliases: function() { - var aliasArray = ["header","files","account","fmLock","filesFrame","editor","tabsBar","findBar","content","footer","system","nestValid","nestDisplay","charDisplay"]; + var aliasArray = ["header","files","account","fmLock","filesFrame","editor","tabsBar","findBar","content","footer","system","nestValid","nestDisplay","charDisplay","byteDisplay"]; // Create our ID aliases for (var i=0;i