From: Alexander Ebert Date: Wed, 5 Aug 2020 22:29:37 +0000 (+0200) Subject: Force display buttons when a new button appears X-Git-Tag: 5.3.0_Alpha_1~68^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=aa806ad7681b6ecf3b25d17baab7a364b750c4c3;p=GitHub%2FWoltLab%2FWCF.git Force display buttons when a new button appears --- diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Page/Action.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Page/Action.js index 04b0edc50b..d85fa3c275 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Page/Action.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Page/Action.js @@ -142,6 +142,7 @@ define(['Dictionary', 'Language'], function (Dictionary, Language) { } _container.insertBefore(wrapper, insertBefore); + _wrapper.classList.remove('scrolledDown'); _buttons.set(buttonName, button); this._renderContainer(); @@ -222,6 +223,7 @@ define(['Dictionary', 'Language'], function (Dictionary, Language) { } elAttr(button.parentNode, 'aria-hidden', 'false'); + _wrapper.classList.remove('scrolledDown'); this._renderContainer(); } },