Only warn when chars remaining < 0, not <= 0.

This commit is contained in:
Tom Adams 2009-08-04 01:22:40 +01:00
parent 961d2a812f
commit 20b2540779
1 changed files with 1 additions and 1 deletions

View 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");