From df9a417207df17ad3fe4dcf17d79eae84ac67d1c Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Mon, 12 Jan 2015 12:37:01 -0500 Subject: [PATCH] Fix NPE --- static/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/app.js b/static/js/app.js index 43fa2f5d4..69f135538 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -2645,7 +2645,7 @@ quayApp.directive('focusablePopoverContent', ['$timeout', '$popover', function ( if (!scope) { return; } scope.$apply(function() { - if (!scope) { return; } + if (!scope || !$scope.$hide) { return; } scope.$hide(); }); };