Skip to content

Commit b038d7b

Browse files
committed
Fix broken links
Issue #742
1 parent 9b72fc9 commit b038d7b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tutorials/code.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ To make sure everything works, we are going to add a sphere, set the camera, ren
6767
</script>
6868
```
6969

70-
Documentation: [$3Dmol.createViewer()]($3Dmol.html#createViewer)
70+
Documentation: [$3Dmol.createViewer()](global.html#createViewer)
7171

7272
<div class="align-center">
7373
<button id="btn-01" class="btn btn-primary">Try it</button>
@@ -96,7 +96,7 @@ jQuery(function() {
9696

9797
If this has worked, you should see a rather fetching green ball in front of an orange background. If not, then now's a good time to get familiar with the developer console on your favourite browser and check for typos ([Firefox](https://developer.mozilla.org/en/docs/Tools/Web_Console), [Chrome](https://developers.google.com/web/tools/chrome-devtools/), ...)
9898

99-
Note, the ```viewer``` variable now contains an instance of GLViewer and we use the [$3Dmol.GLViewer API]($3Dmol.GLViewer) to change the orange background white.
99+
Note, the ```viewer``` variable now contains an instance of GLViewer and we use the [$3Dmol.GLViewer API](GLViewer.html) to change the orange background white.
100100

101101
```
102102
viewer.setBackgroundColor('white');
@@ -106,7 +106,7 @@ Note, the ```viewer``` variable now contains an instance of GLViewer and we use
106106
<button id="btn-01-alt" class="btn btn-primary">Try it</button>
107107
</div>
108108

109-
Documentation: [$3Dmol.GLViewer API]($3Dmol.GLViewer)
109+
Documentation: [$3Dmol.GLViewer API](GLViewer.html)
110110

111111
### Loading data dynamically
112112

0 commit comments

Comments
 (0)