Skip to content

Commit

Permalink
Merge pull request #7 from obayomi96/fix-slider-btn
Browse files Browse the repository at this point in the history
[Fix]: slider & btn control
  • Loading branch information
obayomi96 committed Oct 30, 2023
2 parents 92effac + 0e512e8 commit ec39cf9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions js/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,15 +104,15 @@ durationBtn3.addEventListener("click", () => {
setDuration(7200000);
durationSlider.value = "3";
});
durationBtn3.addEventListener("click", () => {
durationBtn4.addEventListener("click", () => {
setDuration(1080000);
durationSlider.value = "3";
durationSlider.value = "4";
});
durationBtn4.addEventListener("click", () => {
durationBtn5.addEventListener("click", () => {
setDuration(14400000);
durationSlider.value = "5";
});
durationBtn5.addEventListener("click", () => {
durationBtn6.addEventListener("click", () => {
setDuration(18000000);
durationSlider.value = "6";
});
Expand Down

0 comments on commit ec39cf9

Please sign in to comment.