Skip to content

Commit

Permalink
Changed selector in analytics exmaple to be more precise [ref IQSS#6725]
Browse files Browse the repository at this point in the history
  • Loading branch information
mheppler committed Mar 6, 2020
1 parent eb38f4d commit 1e5951f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
var row = target.parents('tr')[0];
if(row != null) {
//finds the file id/DOI in the Dataset page
label = $(row).find('td.col-file-metadata a').attr('href');
label = $(row).find('div.file-metadata-block > a').attr('href');
} else {
//finds the file id/DOI in the file page
label = $('#fileForm').attr('action');
Expand Down

0 comments on commit 1e5951f

Please sign in to comment.