From d84f1abc1d8b74c54e0fd1d0fab2a35d0c731456 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Thu, 31 May 2018 16:31:52 -0400 Subject: [PATCH] Tweak wikidata paths for contributors Signed-off-by: Dan Scott --- Open-ILS/web/js/ui/default/opac/wikidata_music_card.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/web/js/ui/default/opac/wikidata_music_card.js b/Open-ILS/web/js/ui/default/opac/wikidata_music_card.js index 9a72922cbc..155d4803ae 100644 --- a/Open-ILS/web/js/ui/default/opac/wikidata_music_card.js +++ b/Open-ILS/web/js/ui/default/opac/wikidata_music_card.js @@ -26,7 +26,7 @@ var type_path = '[typeof~="MusicAlbum"]'; /* List of elements describing contributors */ - var contributors_path = 'div[resource^="#schemacontrib"]'; + var contributors_path = 'span.rdetail-author-div[resource^="#schemacontrib"]'; /* Path to find the name within each contributor element */ var contributor_name = 'span[property="name"]'; @@ -35,7 +35,7 @@ var name_path = 'span[property="description"]'; /* Path for appending the requested infocards */ - var infocard_location = '#contributors'; + var infocard_location = '#rdetail_title_div'; var icon_node; var note; -- 2.11.0