Skip to content

Commit

Permalink
Comment out chatty console log
Browse files Browse the repository at this point in the history
  • Loading branch information
eb1 committed Aug 20, 2024
1 parent 0bbe1b8 commit 6bf85d0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions www/js/views/AdaptViews.js
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ define(function (require) {
startIdx = 0,
endIdx = content.length;
// check for empty string
console.log("stripPunctuation - content: \"" + content + "\", isSource: " + isSource);
// console.log("stripPunctuation - content: \"" + content + "\", isSource: " + isSource);
if (endIdx === 0) {
return result;
}
Expand Down Expand Up @@ -2259,6 +2259,7 @@ define(function (require) {
}
if (options.length === 1) {
// exactly one entry in KB -- populate the field
foundInKB = true;
targetText = this.stripPunctuation(this.autoAddCaps(model, refstrings[0].target), false);
console.log("selectedAdaptation: populating field from KB: " + targetText);
$(event.currentTarget).html(targetText);
Expand Down Expand Up @@ -2286,8 +2287,8 @@ define(function (require) {
$(event.currentTarget).addClass('fromkb');
clearKBInput = false;
this.moveCursor(event, true);
return;
}
foundInKB = true;
} else if (options.length > 1) {
// more than one entry in KB -- stop here so the user can choose
MovingDir = 0;
Expand Down

0 comments on commit 6bf85d0

Please sign in to comment.