2515 - remove homepage.js

This commit is contained in:
Jonathan Bobel
2025-04-17 10:54:09 -04:00
parent 7de1a9b944
commit d0d6113a05
2 changed files with 0 additions and 25 deletions

View File

@@ -1,24 +0,0 @@
(function(window) {
"use strict";
window.GOVUK.Modules.Homepage = function() {
this.start = function(component) {
let $component = $(component);
let iterations = 0;
let timeout = null;
$component.on('click', () => {
if (++iterations == 5) {
$component.toggleClass('product-page-intro-wrapper--alternative');
}
clearTimeout(timeout);
timeout = setTimeout(() => iterations = 0, 1500);
});
};
};
})(window);

View File

@@ -74,7 +74,6 @@ const javascripts = () => {
paths.src + 'javascripts/radioSlider.js', paths.src + 'javascripts/radioSlider.js',
paths.src + 'javascripts/updateStatus.js', paths.src + 'javascripts/updateStatus.js',
paths.src + 'javascripts/errorBanner.js', paths.src + 'javascripts/errorBanner.js',
paths.src + 'javascripts/homepage.js',
paths.src + 'javascripts/timeoutPopup.js', paths.src + 'javascripts/timeoutPopup.js',
paths.src + 'javascripts/date.js', paths.src + 'javascripts/date.js',
paths.src + 'javascripts/loginAlert.js', paths.src + 'javascripts/loginAlert.js',