From: Matthias Schmidt Date: Sun, 18 Oct 2015 09:57:21 +0000 (+0200) Subject: Make sure static dialogs are hidden initially X-Git-Tag: 3.0.0_Beta_1~2103 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8f8686e9647d88cb2799e61c32988ad0853bcce1;p=GitHub%2FWoltLab%2FWCF.git Make sure static dialogs are hidden initially --- 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); } - } },