1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/test/integration
James Reggio 1a3f950777 Respect target on <a/> tags under Link (#4763)
There are occasions where it is useful to have `target='_blank'` on hyperlinks within your own app. (For example, if your app is being loaded in an iframe and you'd like for the links to break out in to new windows.)

With this PR, the `onClick` logic in Link now checks for an external target on the nested <a/> tag, and will fall back to the default behavior if it's present, similar to the logic for shift-/cmd-clicking the link.
2018-07-12 00:03:25 +02:00
..
app-aspath Fix Typescript HMR (#4689) 2018-06-28 20:07:41 +02:00
app-document Use nonce attribute for all scripts and preloads if provided (#4539) 2018-06-28 20:16:30 +02:00
babel Fix Typescript HMR (#4689) 2018-06-28 20:07:41 +02:00
basic Respect target on <a/> tags under Link (#4763) 2018-07-12 00:03:25 +02:00
config Fix Typescript HMR (#4689) 2018-06-28 20:07:41 +02:00
custom-server Upgrade standard.js (#4064) 2018-03-27 20:11:03 +02:00
dist-dir Clean up references to this.dir and this.dist everywhere (#4535) 2018-06-04 15:45:39 +02:00
ondemand Merge branch 'master' into fix/canary 2018-01-13 06:33:19 +01:00
page-extensions Fix Typescript HMR (#4689) 2018-06-28 20:07:41 +02:00
production Fix #4574: getInitialProps is not called on _error page for client-side errors (#4764) 2018-07-11 23:58:42 +02:00
static Support events emitter for router (#4726) 2018-07-05 14:41:18 +02:00
with-router Support events emitter for router (#4726) 2018-07-05 14:41:18 +02:00