Deleting instead of commenting out

This commit is contained in:
Jonathan Bobel
2023-07-14 10:39:12 -04:00
parent 8f51c4f96b
commit bbc03d2ddb
4 changed files with 0 additions and 89 deletions

View File

@@ -9,10 +9,6 @@ if (window.GOVUK.hasConsentFor('analytics', consentData)) {
$(() => $("time.timeago").timeago());
// Removing sticky footer functionality
// $(() => GOVUK.stickAtTopWhenScrolling.init());
// $(() => GOVUK.stickAtBottomWhenScrolling.init());
var showHideContent = new GOVUK.ShowHideContent();
showHideContent.init();

View File

@@ -285,9 +285,6 @@
if (['move-to-existing-folder', 'add-new-template'].indexOf(this.currentState) !== -1) {
mode = 'dialog';
}
// GOVUK.stickAtBottomWhenScrolling.setMode(mode);
// make sticky JS recalculate its cache of the element's position
// GOVUK.stickAtBottomWhenScrolling.recalculate();
if (currentStateObj && ('setFocus' in currentStateObj)) {
scrollTop = $(window).scrollTop();