From 728ead799273d5665e211899874576f05de23329 Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Fri, 30 Oct 2009 15:51:52 +0100 Subject: Resetting counter after a notice submit --- js/util.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js') diff --git a/js/util.js b/js/util.js index 1519df252..1b855caaf 100644 --- a/js/util.js +++ b/js/util.js @@ -201,7 +201,7 @@ var SN = { // StatusNet } else { SN.C.I.NoticeDataText.val(''); -// SN.U.NoticeTextCounter($('#'+SN.C.S.NoticeDataText), $('#'+SN.C.S.NoticeTextCount), SN.C.I.NoticeTextCharMax); + SN.U.Counter(); } } } @@ -242,7 +242,7 @@ var SN = { // StatusNet $('#'+SN.C.S.NoticeDataText).val(''); $('#'+SN.C.S.NoticeDataAttach).val(''); $('#'+SN.C.S.NoticeInReplyTo).val(''); -// SN.U.NoticeTextCounter($('#'+SN.C.S.NoticeDataText), $('#'+SN.C.S.NoticeTextCount), SN.C.I.NoticeTextCharMax); + SN.U.Counter(); } }, complete: function(xhr, textStatus) { -- cgit v1.2.3-54-g00ecf