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 37326ca commit 4709381Copy full SHA for 4709381
src/components/link.js
@@ -91,7 +91,7 @@ function guardEvent (e) {
91
if (e.defaultPrevented) return
92
// don't redirect on right click
93
/* istanbul ignore if */
94
- if (e.button !== 0) return
+ if (e.button !== undefined && e.button !== 0) return
95
// don't redirect if `target="_blank"`
96
97
if (e.target && e.target.getAttribute) {
0 commit comments