From: Tom Adams Date: Tue, 4 Aug 2009 00:22:40 +0000 (+0100) Subject: Only warn when chars remaining < 0, not <= 0. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=20b254077925d3bc2642a6ff623432b3fb5bdd07;p=quix0rs-gnu-social.git Only warn when chars remaining < 0, not <= 0. --- diff --git a/js/util.js b/js/util.js index f3ed918cf2..fd30336b95 100644 --- a/js/util.js +++ b/js/util.js @@ -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");