only include elements from the first table in linear navigation (#4730)
This commit is contained in:
parent
fb22fbbdca
commit
7338703332
|
@ -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 */
|
||||
|
|
Reference in New Issue