mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
GUAC-1480: Check clipboard on load as well.
This commit is contained in:
@@ -143,6 +143,7 @@ angular.module('client').factory('clipboardService', ['$injector',
|
||||
};
|
||||
|
||||
// Attempt to read the clipboard if it may have changed
|
||||
window.addEventListener('load', checkClipboard, true);
|
||||
window.addEventListener('copy', checkClipboard, true);
|
||||
window.addEventListener('cut', checkClipboard, true);
|
||||
window.addEventListener('focus', function focusGained(e) {
|
||||
|
Reference in New Issue
Block a user