mirror of
https://github.com/ansible/awx.git
synced 2026-05-22 16:27:42 -02:30
Add Side Nav Item unit tests
Signed-off-by: Marliana Lara <mlara@redhat.com>
This commit is contained in:
@@ -5,7 +5,7 @@ let $document;
|
||||
function atSideNavLink (scope, element, attrs, ctrl) {
|
||||
scope.layoutVm = ctrl;
|
||||
|
||||
$document.on('click', (e) => {
|
||||
$(document).on('click', (e) => {
|
||||
if ($(e.target).parents('.at-Layout-side').length === 0) {
|
||||
scope.$emit('clickOutsideSideNav');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user