fix: jsxgrph: typo in size

This commit is contained in:
joyqat 2020-08-12 14:19:28 +08:00
parent f90732a03b
commit af0de29846
1 changed files with 1 additions and 1 deletions

View File

@ -639,7 +639,7 @@
var size = x.getAttribute('data-lang').split('x');
if (size && size.length == 2) {
var w = parseInt(size[0], 10);
var h = parseInt(size[0], 10);
var h = parseInt(size[1], 10);
if (!(isNaN(w) || isNaN(h))) {
board.resizeContainer(w, h);
}