Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError key.split("+") #15007

Closed
devonadam opened this issue Jun 8, 2022 · 1 comment · Fixed by #15008
Closed

TypeError key.split("+") #15007

devonadam opened this issue Jun 8, 2022 · 1 comment · Fixed by #15008

Comments

@devonadam
Copy link

There is a new error now in Safari web browser
It wasnt there about a week ago

TypeError: key.split("+").at is not a function. (In 'key.split("+").at(-1)', 'key.split("+").at' is undefined)
tools.js:161

Configuration:

@Snuffleupagus
Copy link
Collaborator

In general: For anything except the very latest browsers, you should use a legacy/-build of the PDF.js library. Note that we provide two different builds in https://mozilla.github.io/pdf.js/getting_started/#download and also the different versions of the default viewer at https://github.com/mozilla/pdf.js#online-demo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants