mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Use the new counter ;)
This commit is contained in:
parent
f67405866b
commit
a850f5235b
@ -275,10 +275,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form id="chatForm" action="{link controller="Chat" action="Send"}{/link}" method="post">
|
<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}" />
|
||||||
<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>
|
</form>
|
||||||
|
|
||||||
<div id="chatControls">
|
<div id="chatControls">
|
||||||
@ -338,7 +335,7 @@
|
|||||||
maxTextLength: {CHAT_LENGTH}
|
maxTextLength: {CHAT_LENGTH}
|
||||||
}
|
}
|
||||||
|
|
||||||
$('#chatInput').jCounter($('#chatInput').attr('maxlength'), { container: '.counter' });
|
$('#chatInput').jCounter();
|
||||||
$('#sidebar').wcfSidebar();
|
$('#sidebar').wcfSidebar();
|
||||||
//]]>
|
//]]>
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user