Removing govuk js

This commit is contained in:
alexjanousekGSA
2025-08-06 17:19:15 -04:00
parent 9d7b2b9076
commit 3a230f15b6
19 changed files with 78 additions and 114 deletions

View File

@@ -62,7 +62,9 @@
// make sticky JS recalculate its cache of the element's position
// because live search can change the height document
if ('stickAtBottomWhenScrolling' in GOVUK) {
GOVUK.stickAtBottomWhenScrolling.recalculate();
if (window.NotifyModules && window.NotifyModules.stickAtBottomWhenScrolling) {
window.NotifyModules.stickAtBottomWhenScrolling.recalculate();
}
}
};
@@ -95,4 +97,4 @@
};
})(window.GOVUK.Modules);
})(window.NotifyModules);