]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Only warn when chars remaining < 0, not <= 0.
authorTom Adams <tom@holizz.com>
Tue, 4 Aug 2009 00:22:40 +0000 (01:22 +0100)
committerTom Adams <tom@holizz.com>
Tue, 4 Aug 2009 00:24:50 +0000 (01:24 +0100)
js/util.js

index f3ed918cf26bb00963663c08c6209f2f3580d223..fd30336b95a49d9196b04f046c7e49b0d0b3e0b0 100644 (file)
@@ -25,7 +25,7 @@ $(document).ready(function(){
                var counter = $("#notice_text-count");
                counter.text(remaining);
 
-               if (remaining <= 0) {
+               if (remaining < 0) {
                        $("#form_notice").addClass("warning");
                } else {
                        $("#form_notice").removeClass("warning");