Drop console outputs from js
This commit is contained in:
parent
59b83ceeb4
commit
ce3b733039
1 changed files with 0 additions and 2 deletions
|
|
@ -180,10 +180,8 @@ function word_count(text, divId, maxcount) {
|
||||||
|
|
||||||
$('#' + divId).text(r);
|
$('#' + divId).text(r);
|
||||||
if (r > maxcount) {
|
if (r > maxcount) {
|
||||||
console.log("R is greater than maxcount");
|
|
||||||
$('#' + divId).css('color', 'red');
|
$('#' + divId).css('color', 'red');
|
||||||
} else {
|
} else {
|
||||||
console.log("R is less than maxcount");
|
|
||||||
$('#' + divId).css('color', '#333');
|
$('#' + divId).css('color', '#333');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue