From 94475ea7851006b015c196a4aa4e84fa896a9abd Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Mon, 29 Mar 2021 16:13:03 +0200 Subject: [PATCH] Fix identifier of DOM change listener in `Ui/Object/Action` --- ts/WoltLabSuite/Core/Ui/Object/Action.ts | 2 +- wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Object/Action.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ts/WoltLabSuite/Core/Ui/Object/Action.ts b/ts/WoltLabSuite/Core/Ui/Object/Action.ts index 8ae30505fa..1c6744aee2 100644 --- a/ts/WoltLabSuite/Core/Ui/Object/Action.ts +++ b/ts/WoltLabSuite/Core/Ui/Object/Action.ts @@ -110,5 +110,5 @@ function registerElements(): void { export function setup(): void { registerElements(); - DomChangeListener.add("WoltLabSuite/Core/Ui/Empty", () => registerElements()); + DomChangeListener.add("WoltLabSuite/Core/Ui/Action", () => registerElements()); } diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Object/Action.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Object/Action.js index 391c3a85df..f6477c8955 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Object/Action.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Object/Action.js @@ -99,7 +99,7 @@ define(["require", "exports", "tslib", "../../Ajax", "../../Event/Handler", "../ } function setup() { registerElements(); - Listener_1.default.add("WoltLabSuite/Core/Ui/Empty", () => registerElements()); + Listener_1.default.add("WoltLabSuite/Core/Ui/Action", () => registerElements()); } exports.setup = setup; }); -- 2.20.1