From 8720ec096764a9b70e52039502322acaddd87add Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 26 Aug 2016 17:34:48 +0200 Subject: [PATCH] Fixed initialization of message buttons (mobile) --- wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Mobile.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Mobile.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Mobile.js index e6dbdb9980..9715ef98cf 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Mobile.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Mobile.js @@ -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'); }, -- 2.20.1