fix: jsxgrph: typo in size
This commit is contained in:
parent
f90732a03b
commit
af0de29846
|
@ -639,7 +639,7 @@
|
||||||
var size = x.getAttribute('data-lang').split('x');
|
var size = x.getAttribute('data-lang').split('x');
|
||||||
if (size && size.length == 2) {
|
if (size && size.length == 2) {
|
||||||
var w = parseInt(size[0], 10);
|
var w = parseInt(size[0], 10);
|
||||||
var h = parseInt(size[0], 10);
|
var h = parseInt(size[1], 10);
|
||||||
if (!(isNaN(w) || isNaN(h))) {
|
if (!(isNaN(w) || isNaN(h))) {
|
||||||
board.resizeContainer(w, h);
|
board.resizeContainer(w, h);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue