From 6cc21719821eae314238d1fa17de17c9e095de47 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 5 Nov 2016 09:59:41 +1300 Subject: Small improvements to web app --- web/app/view/BaseDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/app/view/BaseDialog.js') diff --git a/web/app/view/BaseDialog.js b/web/app/view/BaseDialog.js index 8d83224..273b620 100644 --- a/web/app/view/BaseDialog.js +++ b/web/app/view/BaseDialog.js @@ -21,6 +21,6 @@ Ext.define('Traccar.view.BaseDialog', { bodyPadding: Traccar.Style.normalPadding, resizable: false, modal: true, - maxHeight: screen.height ? screen.height - Traccar.Style.normalPadding * 2 : null, + maxHeight: window.innerHeight ? window.innerHeight - Traccar.Style.normalPadding * 2 : null, autoScroll: true }); -- cgit v1.2.3