Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If parent is specified but undefined/null, don't ignore it
Given this: const parent = select('nonexistent') const children = select.all('.children', parent) select.all would look in the whole document, instead of just returning "none found in nonexistent" This commit fixes this error and matches jQuery's behavior
- Loading branch information
bd578b9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes refined-github/refined-github#900