mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-23 13:59:30 +01:00
charcount.js no longer breaks catalog sorting.
This commit is contained in:
parent
43e112530d
commit
93fa47f92a
@ -14,10 +14,10 @@ $(document).ready(function(){
|
||||
// every time an event is fired.
|
||||
var $inputArea = $('#body');
|
||||
var $coundownField = $('#countchar');
|
||||
var $maxChars = 3600;
|
||||
var $maxChars = 3601;
|
||||
|
||||
// Preset countdown field to max initial content length
|
||||
$coundownField.text($maxChars - $inputArea.val().length);
|
||||
$coundownField.text($maxChars - $inputArea.length);
|
||||
|
||||
// input :: for all modern browsers [1]
|
||||
// selectionchange :: for IE9 [2]
|
||||
|
Loading…
x
Reference in New Issue
Block a user