Fix NPE
This commit is contained in:
parent
7d412a5b68
commit
df9a417207
1 changed files with 1 additions and 1 deletions
|
@ -2645,7 +2645,7 @@ quayApp.directive('focusablePopoverContent', ['$timeout', '$popover', function (
|
||||||
|
|
||||||
if (!scope) { return; }
|
if (!scope) { return; }
|
||||||
scope.$apply(function() {
|
scope.$apply(function() {
|
||||||
if (!scope) { return; }
|
if (!scope || !$scope.$hide) { return; }
|
||||||
scope.$hide();
|
scope.$hide();
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Reference in a new issue