1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00

Fix reset of jCounter onsubmit

This commit is contained in:
Tim Düsterhus 2013-11-19 20:24:06 +01:00
parent dcd76ab108
commit 4b193e7233
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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>