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

MacOS compatibility issues #524

Open
AVTPJ opened this issue Apr 12, 2021 · 1 comment
Open

MacOS compatibility issues #524

AVTPJ opened this issue Apr 12, 2021 · 1 comment

Comments

@AVTPJ
Copy link

AVTPJ commented Apr 12, 2021

I can't seem to get the latest (v2.2.3) working on Chrome (89.0.4389.114 (Official Build)) on MacOS Big Sur (11.2.3). The issue might be to do with mac os user agent reporting. I get a blank white page and this in console:

Uncaught TypeError: Cannot read property '1' of null
    at r (tour-player.js:1)
    at BrouserInfo (tour-player.js:1)
    at Object.Tour.init (tour-player.js:2)
    at (index):134

Any advice as to how to fix this?

@AVTPJ
Copy link
Author

AVTPJ commented Apr 14, 2021

Ok found the culprit, the user agent check doesn't take into account Mac OS 11, this is the line that breaks it:

t = /Mac OS X (10[\.\_\d]+)/.exec(navigator.userAgent)[1];

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

No branches or pull requests

1 participant