Am-amel/https-www-xvideos-com-video-okavepbd5e-lrm7gwl0ea
0
1// Main JavaScript functionality2document.addEventListener('DOMContentLoaded', function() {3 // Like button functionality4 document.querySelectorAll('[data-feather="heart"]').forEach(heart => {5 heart.addEventListener('click', function() {6 this.classList.toggle('text-red-500');7 this.classList.toggle('fill-current');8 this.parentElement.classList.add('heart-animation');9 10 // Remove animation class after it completes11 setTimeout(() => {12 this.parentElement.classList.remove('heart-animation');13 }, 1000);14 });15 });16 17 // Mobile menu toggle would go here if needed18});19 20// Function to format numbers (e.g., 24500 -> 24.5K)21function formatNumber(num) {22 if (num >= 1000000) {23 return (num / 1000000).toFixed(1) + 'M';24 }25 if (num >= 1000) {26 return (num / 1000).toFixed(1) + 'K';27 }28 return num.toString();29}