We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f8f6e3 commit 63d1ab5Copy full SHA for 63d1ab5
packages/components/bolt-link/src/link.js
@@ -188,6 +188,9 @@ class BoltLink extends withLitHtml() {
188
189
if (this.rootElement) {
190
renderedLink = this.rootElement.firstChild.cloneNode(true);
191
+ if (renderedLink.getAttribute('href') === null && hasHref) {
192
+ renderedLink.setAttribute('href', this.props.href)
193
+ }
194
renderedLink.className += ' ' + classes;
195
render(innerSlots, renderedLink);
196
} else {
0 commit comments