]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Clear notice char counter for direct messages as well.
authorSarven Capadisli <csarven@controlyourself.ca>
Fri, 17 Apr 2009 19:51:20 +0000 (19:51 +0000)
committerSarven Capadisli <csarven@controlyourself.ca>
Fri, 17 Apr 2009 19:51:20 +0000 (19:51 +0000)
js/util.js

index 38d2a9a424febe7a067aba0199131f705d8b13d6..3753bd98982d6923351a06e690f920feee3fdf36 100644 (file)
@@ -179,12 +179,12 @@ $(document).ready(function(){
                                                     }
                                                     else {
                                                                                                            $("#notices_primary .notices").prepend(document._importNode($("li", xml).get(0), true));
-                                                                                                           counter();
                                                                                                            $("#notices_primary .notice:first").css({display:"none"});
                                                                                                            $("#notices_primary .notice:first").fadeIn(2500);
                                                                                                            NoticeHover();
                                                                                                            NoticeReply();
                                                                                                        }
+                                                    counter();
                                                                                                        $("#notice_data-text").val("");
                                                                                                }
                                                                                                $("#form_notice").removeClass("processing");