Skip to content

Commit

Permalink
Fix loop condition in dfgviewerScripts.js
Browse files Browse the repository at this point in the history
Signed-off-by: Christos Sidiropoulos <[email protected]>
  • Loading branch information
csidirop committed Dec 13, 2023
1 parent 1f3eeff commit 2687962
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Resources/Private/JavaScript/dfgviewerScripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ $(document).ready(function() {
}

// Set all other listelements (depending on the OCR engines):
for (let i=0; i<=enginesData.length; i++) {
for (let i=0; i<enginesData.length; i++) {
active = ((enginesData[i].data === ocrEngine) ? ' active' : ''); // set class active if this element === ocrEngine
present = ((enginesData[i].avail === "Y") ? ' present' : ''); // set class present if server sents cookie

Expand Down
2 changes: 1 addition & 1 deletion Resources/Public/JavaScript/allScripts.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2687962

Please sign in to comment.