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

Too long running function #215

Open
krom-xr opened this issue Jan 11, 2021 · 1 comment
Open

Too long running function #215

krom-xr opened this issue Jan 11, 2021 · 1 comment

Comments

@krom-xr
Copy link

krom-xr commented Jan 11, 2021

dialogPolyfill.isInlinePositionSetByStylesheet = function(element) {

This function is running too long

var t = new Date()
var x =  !dialogPolyfill.isInlinePositionSetByStylesheet(dialog);
console.log('time - ', new Date() - t);
return x

in my code in firefox i have

time -  816
@krom-xr
Copy link
Author

krom-xr commented Jan 11, 2021

      selectedNodes = document.querySelectorAll(rule.selectorText);

Problem - here.

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