Skip to content

Commit 968edca

Browse files
committed
breaking(pat navigation): Set explicit pattern trigger.
Do only trigger the pattern on the ``.pat-navigation`` class and remove the trigger for ``.navigation`` classes and ``<nav>`` elements.
1 parent 904e54f commit 968edca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pat/navigation/navigation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ parser.addArgument("current-class", "current");
1212

1313
export default Base.extend({
1414
name: "navigation",
15-
trigger: "nav, .navigation, .pat-navigation",
15+
trigger: ".pat-navigation",
1616

1717
init() {
1818
this.options = parser.parse(this.el, this.options);

0 commit comments

Comments
 (0)