diff options
author | Sarven Capadisli <csarven@status.net> | 2009-10-30 15:51:52 +0100 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2009-10-30 15:51:52 +0100 |
commit | 728ead799273d5665e211899874576f05de23329 (patch) | |
tree | af99661bf5a2b885ac19de777c1c2117fa16502d | |
parent | d16a989f49266b9f9790a13e5967cd9d580d9f54 (diff) |
Resetting counter after a notice submit
-rw-r--r-- | js/util.js | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |