only include elements from the first table in linear navigation (#4730)

This commit is contained in:
Frédéric Péters 2014-06-30 13:15:32 +02:00
parent fb22fbbdca
commit 7338703332
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@
$.pfwbged.prepareLinearNavigation = function () {
/* prepare for linear navigation from document page to document page */
var doc_links = $('.ResultsTasksTable tr a, .ResultsTable tr a').map(
var doc_links = $('table.listing:first').parent('.ResultsTasksTable, .ResultsTable').find('tr a').map(
function(a, b) { return $(b).attr('href'); });
if (doc_links.length > 0) {
/* remove duplicated items */