Show More
@@ -394,7 +394,7 b' function ajaxScrollInit(urlFormat,' | |||||
394 | }, |
|
394 | }, | |
395 | function onsuccess(htmlText) { |
|
395 | function onsuccess(htmlText) { | |
396 | if (mode == 'graph') { |
|
396 | if (mode == 'graph') { | |
397 | var addHeight = htmlText.match(/^<canvas id="graph".*height="(\d+)"><\/canvas>$/m)[1]; |
|
397 | var addHeight = htmlText.match(/^\s*<canvas id="graph".*height="(\d+)"><\/canvas>$/m)[1]; | |
398 | addHeight = parseInt(addHeight); |
|
398 | addHeight = parseInt(addHeight); | |
399 | graph.canvas.height = addHeight; |
|
399 | graph.canvas.height = addHeight; | |
400 |
|
400 |
General Comments 0
You need to be logged in to leave comments.
Login now