We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a13313c commit 3091a29Copy full SHA for 3091a29
1 file changed
src/pat/navigation/navigation.js
@@ -70,7 +70,7 @@ export default Base.extend({
70
* Initial run to mark the current item and its parents.
71
*/
72
init_markings() {
73
- if (this.el.querySelector(this.options.currentClass)) {
+ if (this.el.querySelector(`.${this.options.currentClass}`)) {
74
log.debug("Mark navigation items based on existing current class");
75
this.mark_current();
76
} else {
0 commit comments