diff --git a/timeLineManager/scripts.js b/timeLineManager/scripts.js index 0ca8ab9..7ee5291 100644 --- a/timeLineManager/scripts.js +++ b/timeLineManager/scripts.js @@ -81,21 +81,6 @@ let events = []; } } - function scrollTimeline(direction) { - const container = document.querySelector('.timeline-container'); - const scrollAmount = 300; - - if (direction === 'left') { - scrollPosition = Math.max(0, scrollPosition - scrollAmount); - } else { - scrollPosition += scrollAmount; - } - - container.scrollTo({ - left: scrollPosition, - behavior: 'smooth' - }); - } // Save timeline to localStorage whenever it changes function saveToLocalStorage() {