Added missing callback for added like objects
authorAlexander Ebert <ebert@woltlab.com>
Thu, 11 Feb 2016 13:27:27 +0000 (14:27 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 11 Feb 2016 13:27:39 +0000 (14:27 +0100)
wcfsetup/install/files/js/WoltLab/WCF/Ui/Like/Handler.js

index eddbf8ba651dc52f8532dfb6612d3a8c27622e4c..029d26fd82d5ba38ef18f33831d51b9f0bd8cd92 100644 (file)
@@ -65,6 +65,8 @@ define(
                        }, options);
                        
                        this.initContainers(options, objectType);
+                       
+                       DomChangeListener.add('WoltLab/WCF/Ui/Like/Handler-' + objectType, this.initContainers.bind(this))
                },
                
                /**