From: Sarven Capadisli Date: Fri, 30 Oct 2009 14:51:52 +0000 (+0100) Subject: Resetting counter after a notice submit X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=728ead799273d5665e211899874576f05de23329;p=quix0rs-gnu-social.git Resetting counter after a notice submit --- diff --git a/js/util.js b/js/util.js index 1519df252e..1b855caaf2 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) {