Open Nipaleme opened 2 months ago
When trying the bookmark on version 127.0.2 in Firefox got this error:
Uncaught (in promise) TypeError: app.pdfLinkService._cachedPageNumber is not a function
Due to the line :
const pageNumber = app.pdfLinkService._cachedPageNumber(explicitDest[0]);
After some investigation, I found out that the API might have changed. I managed to make it work by changing it to :
const pageNumber = app.pdfDocument.cachedPageNumber(explicitDest[0]);
When trying the bookmark on version 127.0.2 in Firefox got this error:
Uncaught (in promise) TypeError: app.pdfLinkService._cachedPageNumber is not a function
Due to the line :
After some investigation, I found out that the API might have changed. I managed to make it work by changing it to :