From 58eb65e35da92ad09528a8cb8e3f60a9f1cb59a5 Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 17 Aug 2021 12:15:55 +0530 Subject: [PATCH] report screen width and height in support tickets --- www/support/ui.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/support/ui.js b/www/support/ui.js index 31555dc64..fac6ef438 100644 --- a/www/support/ui.js +++ b/www/support/ui.js @@ -42,6 +42,8 @@ define([ data.sender.userAgent = Util.find(window, ['navigator', 'userAgent']); data.sender.vendor = Util.find(window, ['navigator', 'vendor']); data.sender.appVersion = Util.find(window, ['navigator', 'appVersion']); + data.sender.appVersion = Util.find(window, ['screen', 'width']); + data.sender.appVersion = Util.find(window, ['screen', 'height']); data.sender.blockLocation = privateData.blockLocation || ''; data.sender.teams = Object.keys(teams).map(function (key) { var team = teams[key];