report screen width and height in support tickets

This commit is contained in:
ansuz 2021-08-17 12:15:55 +05:30
parent 8887d8fc1e
commit 58eb65e35d
1 changed files with 2 additions and 0 deletions

View File

@ -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];