Fixed initialization of message buttons (mobile)
authorMarcel Werk <burntime@woltlab.com>
Fri, 26 Aug 2016 15:34:48 +0000 (17:34 +0200)
committerMarcel Werk <burntime@woltlab.com>
Fri, 26 Aug 2016 15:34:54 +0000 (17:34 +0200)
wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Mobile.js

index e6dbdb99807f1304d3172d2921733efd8b24de53..9715ef98cf80abc40d66ee92b35105b1ec478197 100644 (file)
@@ -93,7 +93,10 @@ define(
                        this._initMobileMenu();
                        
                        UiCloseOverlay.add('WoltLabSuite/Core/Ui/Mobile', this._closeAllMenus.bind(this));
-                       DomChangeListener.add('WoltLabSuite/Core/Ui/Mobile', this._initButtonGroupNavigation.bind(this));
+                       DomChangeListener.add('WoltLabSuite/Core/Ui/Mobile', (function() {
+                               this._initButtonGroupNavigation();
+                               this._initMessages();
+                       }).bind(this));
                        
                        if (_messageGroups) this.rebuildShadow(_messageGroups, '.messageGroupLink');
                },