From aa806ad7681b6ecf3b25d17baab7a364b750c4c3 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 6 Aug 2020 00:29:37 +0200 Subject: [PATCH] Force display buttons when a new button appears --- wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Page/Action.js | 2 ++ 1 file changed, 2 insertions(+) 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(); } }, -- 2.20.1