Skip to content

Commit dd89589

Browse files
author
Aaron Sillus
committed
fixed a bug when modelURL contained spaces
1 parent af597d9 commit dd89589

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/aframe.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
<div id="canvas">
9595
<script>
9696
$(function(){
97-
$("#canvas").load(modelUrl + "/model.html");
97+
$("#canvas").load(encodeURIComponent(modelUrl + "/model.html"));
9898
});
9999
</script>
100100
</div>

0 commit comments

Comments
 (0)