Skip to content

Commit

Permalink
Merge pull request #39 from IQSS/6725-analytics-selector-redux
Browse files Browse the repository at this point in the history
Changed selector in analytics exmaple to be more precise [ref #6725]
  • Loading branch information
qqmyers authored Mar 6, 2020
2 parents eb38f4d + 1e5951f commit 3597435
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 3597435

Please sign in to comment.