Phantom fixes

This commit is contained in:
Joseph Schorr 2014-01-09 20:09:56 -05:00
parent 4ce995fdb1
commit 3222712c2a

View file

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