Skip to content

Commit

Permalink
[pdf] Fix for IE
Browse files Browse the repository at this point in the history
  • Loading branch information
KhromovNikita committed Sep 27, 2024
1 parent 29bfb6c commit 8576168
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pdf/src/annotations/freeText.js
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,8 @@
return true;
}

for (let key of curKeys) {
for (let i = 0; i < curKeys.length; i++) {
let key = curKeys[i];
if (curRC[key] !== calcedRC[key]) {
return true;
}
Expand Down Expand Up @@ -747,7 +748,8 @@
return false;
}

for (let key of keys1) {
for (let i = 0; i < keys1.length; i++) {
let key = keys1[i];
if (obj1[key] !== obj2[key]) {
return false;
}
Expand Down

0 comments on commit 8576168

Please sign in to comment.