diff --git a/module/applications/ui/chatLog.mjs b/module/applications/ui/chatLog.mjs index 6f257dbc..f295d2a6 100644 --- a/module/applications/ui/chatLog.mjs +++ b/module/applications/ui/chatLog.mjs @@ -66,10 +66,10 @@ export default class DhpChatLog extends foundry.applications.sidebar.tabs.ChatLo Hooks.on('renderChatMessageHTML', this.addChatListeners.bind()); } - // close(options) { - // Hooks.off('renderChatMessageHTML', this.addChatListeners); - // super.close(options); - // } + close(options) { + Hooks.off('renderChatMessageHTML', this.addChatListeners); + super.close(options); + } async getActor(id) { // return game.actors.get(id);