summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2020-06-18 17:10:36 +0200
committerSimon Rettberg2020-06-18 17:10:36 +0200
commitb6bc94692a9317a6deda1d7eda38d4b017d8e609 (patch)
tree9d64075eab81d6fa72485beb44ac645d2ad790c2
parentLoginRPC: Fix endianness of version number; buffer message (diff)
downloadbwlp-guacamole-ext-b6bc94692a9317a6deda1d7eda38d4b017d8e609.tar.gz
bwlp-guacamole-ext-b6bc94692a9317a6deda1d7eda38d4b017d8e609.tar.xz
bwlp-guacamole-ext-b6bc94692a9317a6deda1d7eda38d4b017d8e609.zip
Fix resolution detection JS
-rw-r--r--src/main/resources/controllers/groupFieldController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/resources/controllers/groupFieldController.js b/src/main/resources/controllers/groupFieldController.js
index f49862b..ce80854 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: '', resolution: window.screen.innerWidth + 'x' + window.screen.innerHeight };
+ $scope.data = { id: 0, password: '', resolution: window.innerWidth + 'x' + window.innerHeight };
$scope.$watch('data', function(newValue) {
if (window.location.hash !== '#/') {