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

Error to rerun the test on selection-range #2328

Open
kellywoo opened this issue Nov 29, 2020 · 2 comments
Open

Error to rerun the test on selection-range #2328

kellywoo opened this issue Nov 29, 2020 · 2 comments

Comments

@kellywoo
Copy link

@kellywoo kellywoo commented Nov 29, 2020

https://javascript.info/selection-range#range-methods

While I was translating it into Korean I found the example fails when user tries to rerun the test.
image

Since range and methods variables are declared on global scope and rerun the test
it tries to redeclare let variable.
It needs refresh the DOM.

By the code I checked on developer tool, we can add data-refresh attribute to delete the DOM and recreate the iframe, but couldn't find the way to put it.
image

@iliakan
Copy link
Member

@iliakan iliakan commented Dec 5, 2020

Sure, I'll fix it, which example fails exactly?

@kellywoo
Copy link
Author

@kellywoo kellywoo commented Dec 9, 2020

it is the one under Range methods
thank you :)
image

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.