diff --git a/js/Clock.js b/js/Clock.js index a0ad43cdd0c2fea5e8e47bfcacd444c965c9202f..39ebb1220df3651a9d11206054a7f65c3361148b 100644 --- a/js/Clock.js +++ b/js/Clock.js @@ -2,7 +2,7 @@ function Clock(panel, config) { this.canvas = panel[0].querySelector("canvas"); this.pane = this.canvas.getContext("2d"); this.bgCanvas = document.createElement("canvas"); - this.bgPane = this.canvas.getContext("2d"); + this.bgPane = this.bgCanvas.getContext("2d"); this.monthNames = ["jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"]; this.dayNames = ["so","mo","di","mi","do","fr","sa"];