From 3222712c2af0f7564c7b3ea813a1981801a8760f Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Thu, 9 Jan 2014 20:09:56 -0500 Subject: [PATCH] Phantom fixes --- static/js/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/app.js b/static/js/app.js index 8ea82cd48..4bdf12395 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -1289,7 +1289,7 @@ quayApp.directive('logsView', function () { log.metadata['_ip'] = log.ip ? log.ip : null; - var description = logDescriptions[log.kind] || logTitles[log.kind] || log.kind; + var description = logDescriptions[log.kind] || log.kind; if (typeof description != 'string') { description = description(log.metadata); } @@ -2252,7 +2252,7 @@ quayApp.run(['$location', '$rootScope', 'Restangular', 'UserService', 'PlanServi var resetDefaultTab = function() { $timeout(function() { $('a[data-toggle="tab"]').each(function(index) { - if (index == 0) { + if (index == 0 && this.click) { this.click(); } });