Skip to content

Commit 033eb69

Browse files
Merge pull request #223 from engaging-computing/dev
Reference example links open in a new tab
2 parents 9c95f71 + 2fbf934 commit 033eb69

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ MYR can be found online at [LearnMYR.org](https://learnmyr.org). For more inform
66
## ECG
77
The Engaging Computing Group develops new technologies to enable learners—youth, teachers, undergraduates, and others— in order for them to be creative in science, engineering, and computing, and studies how these technologies improve learning. For more information about the Engaging Computing Group, please visit the [ECG website](https://sites.uml.edu/engaging-computing).
88

9-
## Change Log - 1.1.0 -> 1.2.0
10-
- Update component file structure (No visible changes to LearnMYR.org)
11-
- Dependency updates (No visible changes to LearnMYR.org)
9+
## Change Log - 1.2.0 -> 1.2.1
10+
- Reference links open in a new tab
1211

1312
## Acknowledgments
1413
MYR uses [Aframe](https://aframe.io), a fantastic open source project, to render objects and effects in the three dimensional space.

src/components/reference/Reference.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ export default class Reference extends React.Component {
4141
let link = '/reference/' + example;
4242
return (
4343
<IconButton
44-
href={link}
44+
href={link}
45+
target="_blank"
4546
className="material-icons">
4647
link
4748
</IconButton>

0 commit comments

Comments
 (0)