diff --git a/guacamole/src/main/webapp/app/client/directives/guacClient.js b/guacamole/src/main/webapp/app/client/directives/guacClient.js index b488b46c4..9eb2ce297 100644 --- a/guacamole/src/main/webapp/app/client/directives/guacClient.js +++ b/guacamole/src/main/webapp/app/client/directives/guacClient.js @@ -599,7 +599,7 @@ angular.module('client').directive('guacClient', [function guacClient() { // If the window is resized, attempt to resize client $window.addEventListener('resize', function onResizeWindow() { - $scope.safeApply($scope.updateDisplayScale()); + $scope.safeApply($scope.updateDisplayScale); }); var show_keyboard_gesture_possible = true;