aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/BaseDialog.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-11-05 09:59:41 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-11-05 09:59:41 +1300
commit6cc21719821eae314238d1fa17de17c9e095de47 (patch)
tree7ad5826ca0b8610f7e1296c197723af64aee6a12 /web/app/view/BaseDialog.js
parent0ea22d28252eeee1f12e38914855b34004042fcd (diff)
downloadtrackermap-web-6cc21719821eae314238d1fa17de17c9e095de47.tar.gz
trackermap-web-6cc21719821eae314238d1fa17de17c9e095de47.tar.bz2
trackermap-web-6cc21719821eae314238d1fa17de17c9e095de47.zip
Small improvements to web app
Diffstat (limited to 'web/app/view/BaseDialog.js')
-rw-r--r--web/app/view/BaseDialog.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/BaseDialog.js b/web/app/view/BaseDialog.js
index 8d832245..273b620d 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
});