summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Adams <tom@holizz.com>2009-08-04 01:22:40 +0100
committerTom Adams <tom@holizz.com>2009-08-04 01:24:50 +0100
commit20b254077925d3bc2642a6ff623432b3fb5bdd07 (patch)
tree6d5a4eb1dca792e121b621cdb29cd9223933242e
parent961d2a812f4f463d48385fe78412a116fbfe71f3 (diff)
Only warn when chars remaining < 0, not <= 0.
-rw-r--r--js/util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/util.js b/js/util.js
index f3ed918cf..fd30336b9 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");