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:
Michael Jumper
2014-12-29 03:43:30 -08:00
parent b197c7c63c
commit 17f272689b
2 changed files with 1 additions and 5 deletions

View File

@@ -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);
}]
};
}]);

View File

@@ -34,4 +34,5 @@ div.thumbnail-main {
.thumbnail-main .display {
position: absolute;
pointer-events: none;
}