mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-14 04:04:03 +00:00
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);
|
||||
if (r > maxcount) {
|
||||
console.log("R is greater than maxcount");
|
||||
$('#' + divId).css('color', 'red');
|
||||
} else {
|
||||
console.log("R is less than maxcount");
|
||||
$('#' + divId).css('color', '#333');
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue