From 92e292fb2609833ce404de7eeefd0da34c59dab4 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 11 Feb 2016 14:27:27 +0100 Subject: [PATCH] Added missing callback for added like objects --- wcfsetup/install/files/js/WoltLab/WCF/Ui/Like/Handler.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Like/Handler.js b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Like/Handler.js index eddbf8ba65..029d26fd82 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Like/Handler.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Like/Handler.js @@ -65,6 +65,8 @@ define( }, options); this.initContainers(options, objectType); + + DomChangeListener.add('WoltLab/WCF/Ui/Like/Handler-' + objectType, this.initContainers.bind(this)) }, /** -- 2.20.1