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 = '-';