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

Commit 9b2c18a

Browse files
committed
💥🐫 Updated the code
1 parent c13b271 commit 9b2c18a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

library.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Calendar.prototype.draw = function () {
4545

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

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

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

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

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

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

0 commit comments

Comments
 (0)