Skip to content

Commit dfe64ae

Browse files
committed
fix(static): path of /icons/tryocaml_loading_*.gif
1 parent 59b49e0 commit dfe64ae

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

static/exercise.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
</div>
3434
<script language="JavaScript">
3535
var n = Math.floor (Math.random () * 8.99) + 1;
36-
document.getElementById('chamo-img').src = learnocaml_config.root + '/icons/tryocaml_loading_' + n + '.gif';
36+
document.getElementById('chamo-img').src = learnocaml_config.rootUrl + '/icons/tryocaml_loading_' + n + '.gif';
3737
</script>
3838
<!-- Anything below could be recreated dynamically, but IDs must be kept. -->
3939
<div id="learnocaml-exo-toolbar">

static/partition-view.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
</div>
3434
<script language="JavaScript">
3535
var n = Math.floor (Math.random () * 8.99) + 1;
36-
document.getElementById('chamo-img').src = '/icons/tryocaml_loading_' + n + '.gif';
36+
document.getElementById('chamo-img').src = learnocaml_config.rootUrl + '/icons/tryocaml_loading_' + n + '.gif';
3737
</script>
3838
<!-- Anything below could be recreated dynamically, but IDs must be kept. -->
3939
<div id="learnocaml-exo-toolbar">

static/playground.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
</div>
3333
<script language="JavaScript">
3434
var n = Math.floor (Math.random () * 8.99) + 1;
35-
document.getElementById('chamo-img').src = learnocaml_config.root + '/icons/tryocaml_loading_' + n + '.gif';
35+
document.getElementById('chamo-img').src = learnocaml_config.rootUrl + '/icons/tryocaml_loading_' + n + '.gif';
3636
</script>
3737
<!-- Anything below could be recreated dynamically, but IDs must be kept. -->
3838
<div id="learnocaml-exo-toolbar">

static/student-view.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
</div>
3434
<script language="JavaScript">
3535
var n = Math.floor (Math.random () * 8.99) + 1;
36-
document.getElementById('chamo-img').src = '/icons/tryocaml_loading_' + n + '.gif';
36+
document.getElementById('chamo-img').src = learnocaml_config.rootUrl + '/icons/tryocaml_loading_' + n + '.gif';
3737
</script>
3838
<!-- Anything below could be recreated dynamically, but IDs must be kept. -->
3939
<div id="learnocaml-exo-toolbar">

0 commit comments

Comments
 (0)