From 524c528ca52fb90ec09a5d5d7e64e6343e32ec26 Mon Sep 17 00:00:00 2001 From: "M.Hassan Amir" <120783382+hassanamir05@users.noreply.github.com> Date: Sun, 10 Dec 2023 12:42:36 +0500 Subject: [PATCH] Update app.js --- app.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app.js b/app.js index e0619c0..eec7ef0 100644 --- a/app.js +++ b/app.js @@ -1,7 +1,3 @@ -window.addEventListener('load', () => { - const preloader = document.getElementById('preloader'); - preloader.style.display = 'none'; -}); let changeBackgroundImage = clickedImage => { const mainSection = document.getElementById('main-section'); @@ -28,4 +24,4 @@ let changeBackgroundImageSeries = clickedImage => { clickedImage.parentElement.classList.add('tv-series-active-image'); const imageSrc = clickedImage.src; tvSeriesSection.style.backgroundImage = `url(${imageSrc})`; -} \ No newline at end of file +}