mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Fix reset of jCounter onsubmit
This commit is contained in:
parent
dcd76ab108
commit
4b193e7233
@ -126,7 +126,7 @@ and afterwards sent to the server by an AJAX request.
|
|||||||
do event.preventDefault
|
do event.preventDefault
|
||||||
|
|
||||||
text = do $('#timsChatInput').val().trim
|
text = do $('#timsChatInput').val().trim
|
||||||
$('#timsChatInput').val('').focus().keyup()
|
$('#timsChatInput').val('').focus().change()
|
||||||
|
|
||||||
return false if text.length is 0
|
return false if text.length is 0
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
<requiredpackages>
|
<requiredpackages>
|
||||||
<requiredpackage minversion="2.0.0 Beta 11">com.woltlab.wcf</requiredpackage>
|
<requiredpackage minversion="2.0.0 Beta 11">com.woltlab.wcf</requiredpackage>
|
||||||
<requiredpackage file="requirements/be.bastelstu.max.wcf.jCounter.tar">be.bastelstu.max.wcf.jCounter</requiredpackage>
|
<requiredpackage file="requirements/be.bastelstu.max.wcf.jCounter.tar" minversion="1.0.0 Beta 4">be.bastelstu.max.wcf.jCounter</requiredpackage>
|
||||||
<requiredpackage file="requirements/be.bastelstu.wcf.nodePush.tar">be.bastelstu.wcf.nodePush</requiredpackage>
|
<requiredpackage file="requirements/be.bastelstu.wcf.nodePush.tar">be.bastelstu.wcf.nodePush</requiredpackage>
|
||||||
</requiredpackages>
|
</requiredpackages>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user