diff --git a/template/chat.tpl b/template/chat.tpl index 7d70128..32d193a 100644 --- a/template/chat.tpl +++ b/template/chat.tpl @@ -199,8 +199,7 @@ {@$message->jsonify()} {/implode} ]); - $('#chatInput').enable(); - $('#chatInput').jCounter(); + $('#chatInput').enable().jCounter(); $('#chatControls .copyright').click(function (event) { event.preventDefault(); if ($.wcfIsset('chatCopyrightDialog')) return WCF.showDialog('chatCopyrightDialog', true, { title: 'Tims Chat{if CHAT_SHOW_VERSION} {$chatVersion}{/if}' });