Update 1.js

This commit is contained in:
FURK4NGG
2025-02-18 17:45:51 +03:00
committed by GitHub
parent 2e88691a97
commit b1542e2b2b
-2
View File
@@ -47,7 +47,6 @@ async function getCurrentYear() {
const now = new Date();
const currentYear = now.getFullYear();
const currentMonth = now.getMonth() + 1;
let age = currentYear - 2006;
if(currentMonth < 3){age -= 1;}
@@ -63,7 +62,6 @@ getCurrentYear().then(age => {
document.addEventListener('DOMContentLoaded', () => {
const textContainer = document.getElementById('animatedTextContainer');
// Eğer container yoksa hata almamak için kontrol et
if (!textContainer) return;
// Split text into words and wrap each word in a span