mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUAC-963: Prevent interaction with non-interactive display, but do not disturb event propagation. Angular routing behaves oddly if click event propagation is altered.
This commit is contained in:
@@ -189,11 +189,6 @@ angular.module('client').directive('guacThumbnail', [function guacThumbnail() {
|
||||
|
||||
});
|
||||
|
||||
// Do not allow nested elements to prevent handling of click events
|
||||
main.addEventListener('click', function preventClickPropagation(e) {
|
||||
e.stopPropagation();
|
||||
}, true);
|
||||
|
||||
}]
|
||||
};
|
||||
}]);
|
@@ -34,4 +34,5 @@ div.thumbnail-main {
|
||||
|
||||
.thumbnail-main .display {
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
}
|
Reference in New Issue
Block a user