diff options
-rw-r--r-- | src/main/resources/controllers/groupFieldController.js | 2 |
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 !== '#/') { |