diff --git a/static/js/app.js b/static/js/app.js index b3f655ed9..623797f9d 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -2585,7 +2585,10 @@ quayApp.directive('focusablePopoverContent', ['$timeout', '$popover', function ( $body = $('body'); var hide = function() { $body.off('click'); + + if (!scope) { return; } scope.$apply(function() { + if (!scope) { return; } scope.$hide(); }); };