quicklink
quicklink copied to clipboard
el option not working as it should
trafficstars
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
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