Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid using
location.hash
as jQuery selector directly
The URI fragment might have all sorts of data in it and will not always be a valid CSS query. The previous approach could have led to Sizzle syntax errors. Since we're only allowing lookups by ID, use `getElementById` here which will never error out, even for malformed values.
- Loading branch information