Skip to content

Commit

Permalink
Fix bug 72890
Browse files Browse the repository at this point in the history
  • Loading branch information
K0R0L committed Jan 29, 2025
1 parent 7d19141 commit 88c2248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdf/src/thumbnails.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@

// currentRect
var currentRect = null;
if (PageStyle.isDrawCurrentRect && doc.selectPageRect.num === this.num)
if (PageStyle.isDrawCurrentRect && doc.selectPageRect && doc.selectPageRect.num === this.num)
currentRect = doc.selectPageRect;
if (currentRect)
{
Expand Down

0 comments on commit 88c2248

Please sign in to comment.