Only warn when chars remaining < 0, not <= 0.
This commit is contained in:
parent
961d2a812f
commit
20b2540779
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue
Block a user