summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/util.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/util.js b/js/util.js
index 66d66c154..71514324b 100644
--- a/js/util.js
+++ b/js/util.js
@@ -77,6 +77,9 @@ var SN = { // StatusNet
SN.U.SubmitOnReturn(e, form);
});
}
+ else {
+ $('#'+form_id+' #'+SN.C.S.NoticeTextCount).text(jQuery.data(form[0], 'ElementData').MaxLength);
+ }
if ($('body')[0].id != 'conversation') {
$('#'+form_id+' textarea').focus();