Fix karma config and remove karma-ng-html2js-preprocessor

This commit is contained in:
Marliana Lara
2017-10-02 14:57:45 -04:00
parent 2f8155763b
commit e19b4e0c8c
5 changed files with 9 additions and 48 deletions

View File

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