Skip to content
This repository was archived by the owner on Apr 7, 2025. It is now read-only.

Commit 5db55d9

Browse files
committed
add href attribute to get focus on anchor element
1 parent dff0c4f commit 5db55d9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/share-network.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@ export default {
182182

183183
return createElement(this.tag, {
184184
class: 'share-network-' + this.key,
185+
attrs: {
186+
href: '#'
187+
},
185188
on: {
186189
click: () => this[this.rawLink.substring(0, 4) === 'http' ? 'share' : 'touch']()
187190
}

0 commit comments

Comments
 (0)