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

Script Error - IE11 #1

Open
KayakFisher205 opened this issue Jan 25, 2021 · 2 comments
Open

Script Error - IE11 #1

KayakFisher205 opened this issue Jan 25, 2021 · 2 comments

Comments

@KayakFisher205
Copy link

In IE11, I Noticed the function call function pickTextColorBasedOnBgColorAdvanced(bgColor) is failing and I suspect its at the promise? line,
var c = uicolors.map((col) => {
if (col <= 0.03928) {
return col / 12.92;
}
return Math.pow((col + 0.055) / 1.055, 2.4);
});

I have the Promise-polyfill js file, but there must be something else I should do. I'm not sure if this effect the popup, but I suspect it does.

@itsChris
Copy link

In IE11, I Noticed the function call function pickTextColorBasedOnBgColorAdvanced(bgColor) is failing and I suspect its at the promise? line,
var c = uicolors.map((col) => {
if (col <= 0.03928) {
return col / 12.92;
}
return Math.pow((col + 0.055) / 1.055, 2.4);
});

I have the Promise-polyfill js file, but there must be something else I should do. I'm not sure if this effect the popup, but I suspect it does.

In IE11 - you must be kidding!

@KayakFisher205
Copy link
Author

KayakFisher205 commented Mar 13, 2021 via email

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

2 participants