From 40023b6097ea8249b3b6997ef0743532df4c7cae Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Wed, 26 May 2021 14:13:34 +0200 Subject: [PATCH] Remove unused JS --- static/frontend/js/popup-ad.js | 17 ----------------- templates/frontend/base.html | 1 - 2 files changed, 18 deletions(-) delete mode 100644 static/frontend/js/popup-ad.js diff --git a/static/frontend/js/popup-ad.js b/static/frontend/js/popup-ad.js deleted file mode 100644 index 27c178f..0000000 --- a/static/frontend/js/popup-ad.js +++ /dev/null @@ -1,17 +0,0 @@ -(function($) { - - "use strict"; - - // Cache Selectors - var mainWindow =$(window), - popupAd =$('#popup-ad'); - - - //Popup Ad - mainWindow.on('load',function(){ - setTimeout(function(){ - popupAd.modal('show'); - }, 2500); - }); - -})(jQuery); diff --git a/templates/frontend/base.html b/templates/frontend/base.html index 5389b0a..9ee561c 100644 --- a/templates/frontend/base.html +++ b/templates/frontend/base.html @@ -354,7 +354,6 @@ - {% block scripts %} {% endblock %}