mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-08 06:01:22 +00:00
GUAC-1480: Increase size of timing window when waiting for clipboard to settle.
This commit is contained in:
@@ -119,7 +119,7 @@ angular.module('client').factory('clipboardService', ['$injector',
|
|||||||
else
|
else
|
||||||
deferred.reject();
|
deferred.reject();
|
||||||
|
|
||||||
}, 10);
|
}, 100);
|
||||||
|
|
||||||
return deferred.promise;
|
return deferred.promise;
|
||||||
};
|
};
|
||||||
@@ -133,8 +133,8 @@ angular.module('client').factory('clipboardService', ['$injector',
|
|||||||
|
|
||||||
// Fire clipboard event if the data has changed
|
// Fire clipboard event if the data has changed
|
||||||
if (data !== lastClipboardEvent) {
|
if (data !== lastClipboardEvent) {
|
||||||
$rootScope.$broadcast('guacClipboard', 'text/plain', data);
|
$rootScope.$broadcast('guacClipboard', 'text/plain', data);
|
||||||
lastClipboardEvent = data;
|
lastClipboardEvent = data;
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user