]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - js/util.js
Resetting counter after a notice submit
[quix0rs-gnu-social.git] / js / util.js
index 1519df252e91fa66ec615d39d4987fd75d4897bc..1b855caaf2c9ffaa4327535c3eb5198f6db0f6c7 100644 (file)
@@ -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) {