Muskan10sharma commited on
Commit
4c0c549
·
verified ·
1 Parent(s): 8a00ba8

Update static/script.js

Browse files
Files changed (1) hide show
  1. static/script.js +0 -20
static/script.js CHANGED
@@ -688,26 +688,6 @@ window.addEventListener('DOMContentLoaded', () => {
688
  showToast(msg);
689
  });
690
  }
691
- // ===== XP BUTTON (FOCUS OPTIMIZER) =====
692
- const xpBtn = document.getElementById("xp-btn");
693
- const focusBox = document.getElementById("focus-optimizer");
694
-
695
- if (xpBtn && focusBox) {
696
- xpBtn.addEventListener("click", () => {
697
- focusBox.classList.add("show");
698
-
699
- focusBox.scrollIntoView({
700
- behavior: "smooth",
701
- block: "center"
702
- });
703
-
704
- clearTimeout(focusBox.hideTimer);
705
-
706
- focusBox.hideTimer = setTimeout(() => {
707
- focusBox.classList.remove("show");
708
- }, 3000);
709
- });
710
- }
711
  });
712
  // 1. Sarcastic Messages ka Database
713
  const sarcasticVault = {
 
688
  showToast(msg);
689
  });
690
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
691
  });
692
  // 1. Sarcastic Messages ka Database
693
  const sarcasticVault = {