Skip to content

Commit 8027b99

Browse files
castastrophemwcz
andauthored
Update elements/pfe-jump-links/src/pfe-jump-links.js
Co-authored-by: Michael Clayton <[email protected]>
1 parent bd0b1f5 commit 8027b99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

elements/pfe-jump-links/src/pfe-jump-links.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@ class PfeJumpLinksNav extends PFElement {
246246
return false;
247247
}
248248
if (
249-
(this.shadowRoot.querySelector("logo") ||
250-
this.shadowRoot.querySelector("link")) &&
249+
(this.shadowRoot.querySelector("[slot='logo']") ||
250+
this.shadowRoot.querySelector("[slot='link']")) &&
251251
!(
252252
this.hasAttribute("pfe-c-horizontal") || this.hasAttribute("horizontal")
253253
)

0 commit comments

Comments
 (0)