From 5db0c197ce0bf76b3e3579883a0c2feb889932c9 Mon Sep 17 00:00:00 2001 From: James O'Toole Date: Thu, 24 Aug 2023 14:50:06 -0700 Subject: [PATCH] Undo sticky lib change --- kraken.theme | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/kraken.theme b/kraken.theme index 94ecc32..61b6101 100644 --- a/kraken.theme +++ b/kraken.theme @@ -57,10 +57,7 @@ function kraken_page_attachments_alter(array &$page) $clf_sticky = theme_get_setting('clf_sticky'); if ($clf_sticky) { - //$page['#attached']['library'][] = 'kraken/sticky-header'; - if (\Drupal::routeMatch()->getRouteName() != ('user.login' || 'user.register' || 'user.password')) { - $page['#attached']['library'][] = 'kraken/sticky-header'; - } + $page['#attached']['library'][] = 'kraken/sticky-header'; } }