Skip to content

Commit 3c922d7

Browse files
authored
Merge pull request #18667 from craftcms/bugfix/18666-link-field-info-icon
when destroying InfoIcon, destroy the related hud and stop old listeners
2 parents be93439 + 5ae39b3 commit 3c922d7

4 files changed

Lines changed: 5 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
- Fixed a bug where address cards could be missing their address preview. ([#18632](https://github.com/craftcms/cms/issues/18632))
2020
- Fixed a bug where the Save button’s spinner wouldn’t appear right away when saving a nested element in a slideout. ([#18664](https://github.com/craftcms/cms/discussions/18664))
2121
- Fixed a bug where the server check script wasn’t treating GD as a requirement. ([craftcms/server-check#30](https://github.com/craftcms/server-check/issues/30))
22+
- Fixed a bug where tooltips could be instantiated multiple times within Link fields. ([#18666](https://github.com/craftcms/cms/issues/18666))
2223

2324
## 5.9.18 - 2026-03-26
2425

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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/web/assets/cp/src/js/InfoIcon.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,9 @@ Craft.InfoIcon = Garnish.Base.extend({
114114
},
115115

116116
destroy: function () {
117+
this.hud?.destroy();
117118
this.$icon.removeData('infoicon');
119+
this.removeAllListeners(this.$icon);
118120
this.base();
119121
},
120122
});

0 commit comments

Comments
 (0)