pixi-jsdoc-template
pixi-jsdoc-template copied to clipboard
Sidebar "currentItem" selection is too fuzzy
If you have multiple files with similar names (e.g. Model
and AnotherModel
), the data-name
selector here:
https://github.com/pixijs/pixi-jsdoc-template/blob/d9971ae190b31faa622a4433ae8911bb4302aca2/src/scripts/main.js#L42
...will incorrectly set $currentItem
to be AnotherModel
when you click on Model
.
I think using data-name=
instead of data-name*=
will fix this, but I'm unsure whether that could cause other issues.