Update 1.js
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user