Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cats256 committed Jul 28, 2023
1 parent 9d17aa3 commit f68aac4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions popup/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ const focusBlock = document.getElementById("focus-block");

const pomodoroTimer = document.getElementById("pomodoro-timer");
const focusTab = document.getElementById("focus-tab");
const settingsTab = document.getElementById("settings-tab");

const timer = document.getElementById("timer");
const powerSettings = document.getElementById("power-settings");
Expand All @@ -11,7 +10,6 @@ const settingsButton = document.getElementById("settings");
timer.addEventListener("click", () => {
pomodoroTimer.style.display = "block";
focusTab.style.display = "none";
settingsTab.style.display = "none";

timer.style.backgroundColor = "rgb(205, 205, 205)";
settingsButton.style.backgroundColor = "";
Expand All @@ -24,7 +22,6 @@ powerSettings.style.backgroundColor = "rgb(205, 205, 205)";
powerSettings.addEventListener("click", () => {
pomodoroTimer.style.display = "none";
focusTab.style.display = "flex";
settingsTab.style.display = "none";

timer.style.backgroundColor = "";
settingsButton.style.backgroundColor = "";
Expand Down

0 comments on commit f68aac4

Please sign in to comment.