From 6918d3149d77ffb0332582abf12de5358c836bcf Mon Sep 17 00:00:00 2001 From: Christopher Armstrong Date: Fri, 16 Jun 2017 16:21:08 -0500 Subject: [PATCH] get rid of maximum settings for width and height --- src/lib/config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/config.js b/src/lib/config.js index 87cb2185..400e1406 100644 --- a/src/lib/config.js +++ b/src/lib/config.js @@ -644,14 +644,14 @@ config.popup = { }, set width (val) { val = +val; - app.storage.write('fullWidth', Math.max(Math.min(val, 780), 500)); + app.storage.write('fullWidth', Math.max(val, 500)); }, get height () { return +app.storage.read('fullHeight') || 600; }, set height (val) { val = +val; - app.storage.write('fullHeight', Math.max(Math.min(val, 600), 500)); + app.storage.write('fullHeight', Math.max(val, 500)); } }, get display () { // false: plain-text, true: html