From e932c3a4f0f840efded77194848d258a0d9743e8 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Fri, 6 Feb 2015 17:05:03 -0800 Subject: [PATCH] Small cleanup --- js/main-window.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/main-window.js b/js/main-window.js index e58e447c..45dc27a8 100644 --- a/js/main-window.js +++ b/js/main-window.js @@ -56,7 +56,7 @@ MainWindow = { this.nodes.close.onclick = function() { self.close(); - } + }; this.nodes.shade.onclick = function() { self.nodes.window.classList.toggle('shade'); @@ -242,6 +242,7 @@ MainWindow = { this.updatePosition(); var shadeMinusCharacter = ' '; + var digits = null; if(this.nodes.time.classList.contains('countdown')) { digits = this.winamp._timeObject(this.winamp.getTimeRemaining()); shadeMinusCharacter = '-';