mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-30 11:19:44 -04:00
Deleting instead of commenting out
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user