Skip to content

Commit

Permalink
Undo sticky lib change
Browse files Browse the repository at this point in the history
  • Loading branch information
occupant committed Aug 24, 2023
1 parent 770c9a0 commit 5db0c19
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions kraken.theme
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
}

Expand Down

0 comments on commit 5db0c19

Please sign in to comment.