Skip to content

Commit

Permalink
uppercase delusion fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
erfanmehrjoo committed Jan 27, 2025
1 parent 0bda1f4 commit faaa72f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ const sections = {
};

function handleCommand(command) {
command = command.toLowerCase();

// مخفی کردن همه بخش‌ها
Object.values(sections).forEach(section => {
if (section) section.classList.add('hidden');
Expand Down

0 comments on commit faaa72f

Please sign in to comment.