Skip to content

Commit

Permalink
minor example code fix
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg committed Dec 16, 2018
1 parent 251b5be commit fc5fbcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/wsgi/templates/latency.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ <h2 id="transport">(connecting)</h2>
function render() {
if (smoothie)
smoothie.stop();
chart.css('width', $(document).width());
chart.width = document.body.clientWidth;
smoothie = new SmoothieChart();
smoothie.streamTo(chart, 1000);
time = new TimeSeries();
Expand Down

0 comments on commit fc5fbcf

Please sign in to comment.