forked from GNUsocial/gnu-social
run the counter once at page load time
darcs-hash:20080701183016-84dde-f1aed06f7bd67a665ba55c03f036d98bd208c3b9.gz
This commit is contained in:
parent
74e7dd253c
commit
409bc56ff2
@ -16,7 +16,8 @@ $(document).ready(function(){
|
|||||||
|
|
||||||
if ($("#status_textarea").length) {
|
if ($("#status_textarea").length) {
|
||||||
$("#status_textarea").bind("keyup", counter);
|
$("#status_textarea").bind("keyup", counter);
|
||||||
|
// run once in case there's something in there
|
||||||
|
counter();
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user