From 8f8686e9647d88cb2799e61c32988ad0853bcce1 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 18 Oct 2015 11:57:21 +0200 Subject: [PATCH] Make sure static dialogs are hidden initially --- wcfsetup/install/files/js/WoltLab/WCF/Ui/Dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Dialog.js b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Dialog.js index db2821e5db..43dd19a2c0 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Dialog.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Dialog.js @@ -79,10 +79,10 @@ define( if (id && (container = elById(id))) { ((function(button, container) { container.classList.remove('jsStaticDialogContent'); + container.style.setProperty('display', 'none'); button.addEventListener('click', this.openStatic.bind(this, container.id, null, { title: elAttr(container, 'data-title') })); }).bind(this))(button, container); } - } }, -- 2.20.1