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

el option not working as it should #347

Open
luccaparadeda opened this issue Apr 13, 2023 · 1 comment
Open

el option not working as it should #347

luccaparadeda opened this issue Apr 13, 2023 · 1 comment

Comments

@luccaparadeda
Copy link

Describe the bug
If the el option receives a tag it doesn't prefetch any of them.

To Reproduce
query the tags that you want to prefetch and send it as the el option in quicklink.listen() function

Expected behavior
It should prefetch all the tags that appear on the viewport and match with the query that you send as the el option.

Version:

  • OS w/ version: windows 10 enterprise
  • Browser w/ version Chrome 112
@ShayanTheNerd
Copy link

Actually, I have another problem using this config option. When I try to specify a list of anchor tags to be looked for using document.querySelectorAll('a') or anything else, it produces the following error:
Uncaught TypeError: (e2.el || document).querySelectorAll is not a function at m.timeout

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