flagpole icon indicating copy to clipboard operation
flagpole copied to clipboard

Passing opts as second argument to find() or findAll() does not apply those opts

Open ncalaway opened this issue 4 years ago • 0 comments

When passing an opts object as the second argument to find() or findAll(), the opts are not applied. Using find() with an offset returns the same HTML element as not using an offset. Using findAll() with an offset and/or limit always returns all elements matching the selector, just as if no opts were passed.

This does not occur when passing opts as the third argument to the aforementioned methods. In this case, it works as expected.

When I go into the methods and console log the parameter which should be the opts, the console log shows that the value of the parameter is undefined.

ncalaway avatar Nov 05 '21 12:11 ncalaway