8000 Docs: add target=_blank attribute to primitives page (#24026) · robinboot/three.js@13de4a6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 13de4a6

Browse files
authored
Docs: add target=_blank attribute to primitives page (mrdoob#24026)
1 parent fff7be3 commit 13de4a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

manual/resources/threejs-primitives.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,7 @@ const geometry = new THREE.WireframeGeometry(
707707

708708
function addLink(parent, name, href) {
709709
const a = document.createElement('a');
710+
a.setAttribute('target', '_blank');
710711
a.href = href || `https://threejs.org/docs/#api/geometries/${name}`;
711712
const code = document.createElement('code');
712713
code.textContent = name;

0 commit comments

Comments
 (0)
0