Check clipboard for received events only during bubble phase (allow clipboard service to manage propagation from its event target).
@@ -137,8 +137,8 @@ angular.module('index').controller('indexController', ['$scope', '$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('copy', checkClipboard);
+ $window.addEventListener('cut', checkClipboard);
$window.addEventListener('focus', function focusGained(e) {
// Only recheck clipboard if it's the window itself that gained focus
