prevent rows from being set in textarea / gcode editor
This commit is contained in:
parent
5d4df72f2a
commit
7b26463d7c
1 changed files with 1 additions and 1 deletions
|
|
@ -535,7 +535,7 @@
|
||||||
cols = Math.max(cols, row.length);
|
cols = Math.max(cols, row.length);
|
||||||
});
|
});
|
||||||
txt.setAttribute("cols", Math.max(30, cols + 1));
|
txt.setAttribute("cols", Math.max(30, cols + 1));
|
||||||
txt.setAttribute("rows", Math.max(10, rows.length + 1));
|
// txt.setAttribute("rows", Math.max(10, rows.length + 1));
|
||||||
|
|
||||||
let showing = pop === lastPop;
|
let showing = pop === lastPop;
|
||||||
hidePop();
|
hidePop();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue