fixes page reload on ie11
This commit is contained in:
Robert Einsle 2017-02-22 17:11:39 +01:00
parent 11ff3b02fd
commit e63120549c

View File

@ -22,8 +22,13 @@
{% endblock %} {% endblock %}
{% block js %} {% block js %}
<script type="text/javascript"> <script type="text/javascript">
$( document ).ready(function() { $(document).ready(function() {
setInterval(function(){$( "#desk_data" ).load( "#")},2000); $.ajaxSetup({ cache: false });
window.setInterval(refresh_page, 1000);
}); });
function refresh_page() {
$('#desk_data').load('#')
}
</script> </script>
{% endblock %} {% endblock %}