From 0c90e387988336e6c5f330b0073e56f58ec1eeee Mon Sep 17 00:00:00 2001 From: David Hudson Date: Sun, 3 Nov 2024 01:27:43 -0700 Subject: [PATCH] fix warning --- CHANGELOG.md | 4 ++++ src/scripts/TokenNoteHoverHUD.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a81702..6b2c258 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [2.1.7](https://github.com/jendave/token-note-hover/commits/main) (2024-11-03) + +* Fix warning. + ## [2.1.6](https://github.com/jendave/token-note-hover/commits/main) (2024-10-02) * Fix bug with `Phosphor` theme text color. diff --git a/src/scripts/TokenNoteHoverHUD.js b/src/scripts/TokenNoteHoverHUD.js index 66cab36..21b3d24 100644 --- a/src/scripts/TokenNoteHoverHUD.js +++ b/src/scripts/TokenNoteHoverHUD.js @@ -39,7 +39,7 @@ export default class TokenNoteHoverHUD extends BasePlaceableHUD { * @type {*} */ static get defaultOptions() { - return mergeObject(super.defaultOptions, { + return foundry.utils.mergeObject(super.defaultOptions, { id: CONSTANTS.ELEMENT_ID, classes: [...super.defaultOptions.classes, CONSTANTS.ELEMENT_ID], minimizable: false,