GUAC-807 safeApply should be using a function parameter, not a random undefined value that's returned from a function.

This commit is contained in:
James Muehlner
2014-11-06 00:00:40 -08:00
parent c2521b1b15
commit 3f65e45e0f

View File

@@ -599,7 +599,7 @@ angular.module('client').directive('guacClient', [function guacClient() {
// If the window is resized, attempt to resize client // If the window is resized, attempt to resize client
$window.addEventListener('resize', function onResizeWindow() { $window.addEventListener('resize', function onResizeWindow() {
$scope.safeApply($scope.updateDisplayScale()); $scope.safeApply($scope.updateDisplayScale);
}); });
var show_keyboard_gesture_possible = true; var show_keyboard_gesture_possible = true;