From ced83b2dae2763449cc5c57591ba024dd7bc3d56 Mon Sep 17 00:00:00 2001 From: Udo Walter Date: Thu, 18 Jun 2020 05:14:59 +0200 Subject: Send resolution from the users browser to the server and try to autologin the user on the client. --- src/main/resources/controllers/groupFieldController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/resources/controllers/groupFieldController.js') diff --git a/src/main/resources/controllers/groupFieldController.js b/src/main/resources/controllers/groupFieldController.js index 3b6f9ea..f49862b 100644 --- a/src/main/resources/controllers/groupFieldController.js +++ b/src/main/resources/controllers/groupFieldController.js @@ -1,6 +1,6 @@ angular.module('group').controller('groupFieldController', ['$scope', function groupFieldController($scope) { - $scope.data = { id: 0, password: '' }; + $scope.data = { id: 0, password: '', resolution: window.screen.innerWidth + 'x' + window.screen.innerHeight }; $scope.$watch('data', function(newValue) { if (window.location.hash !== '#/') { -- cgit v1.2.3-55-g7522