summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/util.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/util.js b/js/util.js
index 663ec8986..c5d03ce11 100644
--- a/js/util.js
+++ b/js/util.js
@@ -213,7 +213,7 @@ var SN = { // StatusNet
}
else {
$('#'+form_id+' #'+SN.C.S.NoticeDataText).val('');
- SN.U.Counter($('#'+SN.C.S.FormNotice));
+ SN.U.NoticeFormEnhancements($('#'+SN.C.S.FormNotice));
}
}
}
@@ -256,7 +256,7 @@ var SN = { // StatusNet
$('#'+form_id+' #'+SN.C.S.NoticeDataAttach).val('');
$('#'+form_id+' #'+SN.C.S.NoticeInReplyTo).val('');
$('#'+form_id+' #'+SN.C.S.NoticeDataAttachSelected).remove();
- SN.U.Counter($('#'+SN.C.S.FormNotice));
+ SN.U.FormNoticeEnhancements(form);
}
},
complete: function(xhr, textStatus) {