diff --git a/templates/cave.html b/templates/cave.html
index 55634d6..a0d98c2 100644
--- a/templates/cave.html
+++ b/templates/cave.html
@@ -29,7 +29,7 @@
//Wookey old code: ui.loadCave('{{svx3d}}.3d');
//Martin old code: ui.loadCave('{{ cave }}.3d');
- {% url "cave3d" cave %}
+ ui.loadCave('{% url "cave3d" cave %}');
}
window.onload = onLoad;