From: Alexander Ebert Date: Tue, 3 Jan 2017 13:38:24 +0000 (+0100) Subject: Slightly delaying Redactor init X-Git-Tag: 3.0.0~72 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9cf29007ecd04edcb6e77543030ea735eb68175e;p=GitHub%2FWoltLab%2FWCF.git Slightly delaying Redactor init --- diff --git a/com.woltlab.wcf/templates/wysiwyg.tpl b/com.woltlab.wcf/templates/wysiwyg.tpl index 4b4190dc04..0e60cf9c78 100644 --- a/com.woltlab.wcf/templates/wysiwyg.tpl +++ b/com.woltlab.wcf/templates/wysiwyg.tpl @@ -279,7 +279,9 @@ }, 10); }; - $(element).redactor(config); + $(function () { + $(element).redactor(config); + }); }); }); diff --git a/wcfsetup/install/files/acp/templates/wysiwyg.tpl b/wcfsetup/install/files/acp/templates/wysiwyg.tpl index 4b4190dc04..0e60cf9c78 100644 --- a/wcfsetup/install/files/acp/templates/wysiwyg.tpl +++ b/wcfsetup/install/files/acp/templates/wysiwyg.tpl @@ -279,7 +279,9 @@ }, 10); }; - $(element).redactor(config); + $(function () { + $(element).redactor(config); + }); }); });