Update index.html
Corrected script used only by old django version
This commit is contained in:
parent
404ce2d9fb
commit
7c25e6c296
|
@ -2,13 +2,6 @@
|
||||||
title: Streaming simulator
|
title: Streaming simulator
|
||||||
layout: withjs
|
layout: withjs
|
||||||
extrajs: <script>params = {}; params.get= {}; params.get.res = 5;</script>
|
extrajs: <script>params = {}; params.get= {}; params.get.res = 5;</script>
|
||||||
<script>
|
|
||||||
submitFunction = function(event) {
|
|
||||||
var form = document.getElementById('form');
|
|
||||||
form.action = "{% url 'stream' %}" + document.getElementById('res').value;
|
|
||||||
form.submit();
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
<script src="/static/js/stream/main.js"></script>
|
<script src="/static/js/stream/main.js"></script>
|
||||||
---
|
---
|
||||||
<section>
|
<section>
|
||||||
|
|
Loading…
Reference in New Issue