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 %}
{% block js %}
<script type="text/javascript">
$( document ).ready(function() {
setInterval(function(){$( "#desk_data" ).load( "#")},2000);
$(document).ready(function() {
$.ajaxSetup({ cache: false });
window.setInterval(refresh_page, 1000);
});
function refresh_page() {
$('#desk_data').load('#')
}
</script>
{% endblock %}