reduced the speed again, caused a crash
This commit is contained in:
parent
f447334563
commit
2be0bc6fa3
1 changed files with 1 additions and 1 deletions
|
@ -57,5 +57,5 @@
|
||||||
<%= form_for @map, :url => realtime_path(@map), :method => "GET", :html => { :id => "MapRealtime"}, remote: true do |form| %>
|
<%= form_for @map, :url => realtime_path(@map), :method => "GET", :html => { :id => "MapRealtime"}, remote: true do |form| %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<script>
|
<script>
|
||||||
var int = setInterval(function(){if (goRealtime) {$('#MapRealtime').submit();}},50);
|
var int = setInterval(function(){if (goRealtime) {$('#MapRealtime').submit();}},5000);
|
||||||
</script>
|
</script>
|
Loading…
Add table
Reference in a new issue