Skip to content

Commit d66b84d

Browse files
fix(unity-bootstrap-theme): fix typo
1 parent f0e6652 commit d66b84d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/unity-bootstrap-theme/src/js/anchor-menu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function initAnchorMenu() {
2424
// These values are for optionally present Drupal admin toolbars. They
2525
// are not present in Storybook and not required in implementations.
2626
const toolbarBarHeight =
27-
document.getElementById("toolbar-bar")?.toolbarBarHeight || 0;
27+
document.getElementById("toolbar-bar")?.offsetHeight || 0;
2828
const toolbarItemAdministrationTrayHeight =
2929
document.getElementById("toolbar-item-administration-tray")?.offsetHeight ||
3030
0;

0 commit comments

Comments
 (0)