diff options
Diffstat (limited to 'js')
| -rw-r--r-- | js/CGP.js | 6 |
1 files changed, 0 insertions, 6 deletions
| @@ -132,12 +132,6 @@ var CGP = (function() { | |||
| 132 | var canvases = document.getElementsByClassName('rrd'); | 132 | var canvases = document.getElementsByClassName('rrd'); |
| 133 | for (var i = 0; i < canvases.length; i++) { | 133 | for (var i = 0; i < canvases.length; i++) { |
| 134 | draw(canvases[i].id, async); | 134 | draw(canvases[i].id, async); |
| 135 | |||
| 136 | if (document.getElementById(canvases[i].id + '-img')) { | ||
| 137 | document.getElementById(canvases[i].id).style.display = 'none'; | ||
| 138 | var dataURL = canvases[i].toDataURL(); | ||
| 139 | document.getElementById(canvases[i].id + '-img').src = dataURL; | ||
| 140 | } | ||
| 141 | } | 135 | } |
| 142 | } | 136 | } |
| 143 | 137 | ||
