Skip to content
This repository has been archived by the owner on Mar 4, 2021. It is now read-only.

Commit

Permalink
💥🐫 Updated the code
Browse files Browse the repository at this point in the history
  • Loading branch information
nizarmah committed Jul 10, 2016
1 parent c13b271 commit 9b2c18a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions library.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Calendar.prototype.draw = function () {

if (theNames[i] != "labels") {
backSlider = document.createElement("DIV");
backSlider.id = this.id + "-day-back";
backSlider.id = this.id + "-year-back";
backSlider.insertAdjacentHTML('beforeend', backSvg);
theContainers[i].appendChild(backSlider);

Expand All @@ -54,7 +54,7 @@ Calendar.prototype.draw = function () {
theContainers[i].appendChild(theText);

nextSlider = document.createElement("DIV");
nextSlider.id = this.id + "-day-next";
nextSlider.id = this.id + "-year-next";
nextSlider.insertAdjacentHTML('beforeend', nextSvg);
theContainers[i].appendChild(nextSlider);
}
Expand All @@ -63,7 +63,7 @@ Calendar.prototype.draw = function () {
theContainers[i].style.color = this.colors[2];

backSlider = document.createElement("DIV");
backSlider.id = this.id + "-day-back";
backSlider.id = this.id + "-month-back";
backSlider.insertAdjacentHTML('beforeend', backSvg);
theContainers[i].appendChild(backSlider);

Expand All @@ -72,7 +72,7 @@ Calendar.prototype.draw = function () {
theContainers[i].appendChild(theText);

nextSlider = document.createElement("DIV");
nextSlider.id = this.id + "-day-next";
nextSlider.id = this.id + "-month-next";
nextSlider.insertAdjacentHTML('beforeend', nextSvg);
theContainers[i].appendChild(nextSlider);
}
Expand Down

0 comments on commit 9b2c18a

Please sign in to comment.