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

dizzle's caches do not update when Dom has change #1

Open
solillumina opened this issue Mar 6, 2022 · 0 comments
Open

dizzle's caches do not update when Dom has change #1

solillumina opened this issue Mar 6, 2022 · 0 comments

Comments

@solillumina
Copy link

solillumina commented Mar 6, 2022

document.getElementsByTagName('body')[0].innerHTML='<div>1</div><div>2</div>'
console.log(dizzle('div').length) //2
document.getElementsByTagName('body')[0].innerHTML='<div>1</div><div>2</div><div>3</div><div>4</div>'
console.log(dizzle('body div').length) //still 2

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