Browse Source

fixed error variable

pull/177/head
iepngs 7 years ago
committed by GitHub
parent
commit
e921ce9e9b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      examples/wsgi/templates/latency.html

2
examples/wsgi/templates/latency.html

@ -15,7 +15,7 @@
<script> <script>
// socket // socket
var socket = io.connect('http://' + document.domain + ':' + location.port); var socket = io.connect('http://' + document.domain + ':' + location.port);
var chart = $('#chart'); var chart = $('#chart').get(0);
socket.on('connect', function() { socket.on('connect', function() {
if (chart.getContext) { if (chart.getContext) {
render(); render();

Loading…
Cancel
Save