Skip to content

Commit 613724b

Browse files
authored
Merge pull request #16962 from craftcms/bugfix/cms-16959-sidebar-toolbar
Fix Sidebar Toolbar Label
2 parents 2aaba6d + fa7286e commit 613724b

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
- Fixed a bug where relational fields with a “Related To” rule on their selectable elements condition weren’t making all expected elements selectable. ([#16945](https://github.com/craftcms/cms/issues/16945))
99
- Fixed a bug where some subdivisions weren’t available when creating addresses. ([#16951](https://github.com/craftcms/cms/issues/16951))
1010
- Fixed a bug where provisional drafts created for nested elements weren’t being properly assigned to both the canonical owner element and the owner’s provisional draft, if it had one. ([#16933](https://github.com/craftcms/cms/pull/16933))
11+
- Fixed a bug where global sidebar tooltips were blank in Safari. ([#16959](https://github.com/craftcms/cms/issues/16959))
1112

1213
## 5.6.13 - 2025-03-19
1314

src/web/assets/cp/dist/cp.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/web/assets/cp/dist/cp.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/web/assets/cp/src/js/CraftGlobalSidebar.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class CraftGlobalSidebar extends HTMLElement {
3333
const tooltip = document.createElement('craft-tooltip');
3434
tooltip.setAttribute('placement', 'right');
3535
tooltip.setAttribute('trigger', `.sidebar-action`);
36-
tooltip.setAttribute('text', item.querySelector('.label')?.innerText);
36+
tooltip.setAttribute('text', item.querySelector('.label')?.textContent);
3737
item.append(tooltip);
3838
});
3939
}

0 commit comments

Comments
 (0)