Browse Source

'let' => 'var' in client JS

master
Menci 8 years ago
parent
commit
e2f81c3959
  1. 2
      views/statistics.ejs

2
views/statistics.ejs

@ -15,7 +15,7 @@ let types = {
<script src="/libs/morris.js/morris.min.js"></script>
<script>
function getColorOfScore(score) {
let color = [];
var color = [];
color[0] = 'red';
color[1] = '#ff4b00';
color[2] = '#ff6200';

Loading…
Cancel
Save