prevent rows from being set in textarea / gcode editor

This commit is contained in:
Stewart Allen 2020-12-14 00:11:39 -05:00
commit 7b26463d7c

View file

@ -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();