mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Use the new counter ;)
This commit is contained in:
parent
f67405866b
commit
a850f5235b
@ -275,10 +275,7 @@
|
||||
</div>
|
||||
|
||||
<form id="chatForm" action="{link controller="Chat" action="Send"}{/link}" method="post">
|
||||
<div class="counterContainer"><div>
|
||||
<input type="text" id="chatInput" class="inputText long counterInput" name="text" autocomplete="off" maxlength="{CHAT_LENGTH}" required="required" placeholder="{lang}wcf.chat.submit.default{/lang}" />
|
||||
<div class="counter color-1">{CHAT_LENGTH}</div>
|
||||
</div></div>
|
||||
</form>
|
||||
|
||||
<div id="chatControls">
|
||||
@ -338,7 +335,7 @@
|
||||
maxTextLength: {CHAT_LENGTH}
|
||||
}
|
||||
|
||||
$('#chatInput').jCounter($('#chatInput').attr('maxlength'), { container: '.counter' });
|
||||
$('#chatInput').jCounter();
|
||||
$('#sidebar').wcfSidebar();
|
||||
//]]>
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user