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 committed 2014-12-29 03:43:30 -08:00
1 parent b197c7c63c
commit 17f272689b
2 files changed
+1 -5

No files matched your search

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