parent
b0ec7074d0
commit
7a503d678b
1 changed files with 1 additions and 0 deletions
|
@ -169,6 +169,7 @@ angular.module('quay').directive('repoPanelTags', function () {
|
||||||
$scope.trackLineClass = function(index, track_info) {
|
$scope.trackLineClass = function(index, track_info) {
|
||||||
var startIndex = $.inArray(track_info.tags[0], $scope.tags);
|
var startIndex = $.inArray(track_info.tags[0], $scope.tags);
|
||||||
var endIndex = $.inArray(track_info.tags[track_info.tags.length - 1], $scope.tags);
|
var endIndex = $.inArray(track_info.tags[track_info.tags.length - 1], $scope.tags);
|
||||||
|
index += $scope.options.page * $scope.tagsPerPage;
|
||||||
|
|
||||||
if (index == startIndex) {
|
if (index == startIndex) {
|
||||||
return 'start';
|
return 'start';
|
||||||
|
|
Reference in a new issue