Skip to content

Commit 32c2098

Browse files
committed
The reference to "version.json" should be the path from the document root as in the Download page.
1 parent 0d82621 commit 32c2098

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/templates/pages/get-started/index.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ function draw() {
197197
<div>{{#i18n "book1"}}{{/i18n}}</div>
198198

199199
<script>
200-
$.getJSON('../download/version.json', function(data) {
200+
$.getJSON('/download/version.json', function(data) {
201201
$('.p5-replace').each(function() {
202202
var html = $(this).html().replace('[p5_version]', data.version);
203203
$(this).html(html);

0 commit comments

Comments
 (0)