fixes not concerning graphics

- default is no graphics
- use send_file instead of response (proper mimetype)
- fix issues with parameter blocks
This commit is contained in:
l_samenv
2021-09-17 15:37:04 +02:00
parent fbe70ce68a
commit b55e51fc65
8 changed files with 34 additions and 38 deletions

View File

@ -69,7 +69,7 @@ function adjustGrid() {
switch (nColumns) {
case 1:
if (menuMode) {
if (menuMode) {
leftWidth = Math.min(100, MINWIDTH / width * 100);
style(0,leftWidth + "vw","100vh");
style(1); // hide
@ -147,4 +147,4 @@ function style(s, width, height) {
elements[s].style.float = "left";
}
let isTouchDevice = !!('ontouchstart' in window) || !!('msmaxtouchpoints' in window.navigator);
let isTouchDevice = !!('ontouchstart' in window) || !!('msmaxtouchpoints' in window.navigator);