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

getMultiSelector failure on a tag #47

Open
entrptaher opened this issue May 24, 2019 · 0 comments
Open

getMultiSelector failure on a tag #47

entrptaher opened this issue May 24, 2019 · 0 comments

Comments

@entrptaher
Copy link

getMultiSelector fails for the simplest tag on hackernews.
image

OptimalSelect.getSingleSelector(document.querySelector('.storylink'))
"[id="19997188"] .storylink"

OptimalSelect.getMultiSelector([document.querySelector('.storylink')])
optimize.js:135 Uncaught DOMException: Failed to execute 'querySelectorAll' on 'Document': '[id] a.reddit.com/r/gamedev/comments/bs6n3l/apple_removed_my_game_from_the_app_store_because/"]' is not a valid selector.
    at optimizePart (<anonymous>:469:30)
    at optimize (<anonymous>:375:27)
    at Object.getMultiSelector (<anonymous>:1050:41)
    at <anonymous>:1:15
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