diff --git a/js/extensions/buttonShare.js b/js/extensions/buttonShare.js index dbb831b1..9e06797e 100644 --- a/js/extensions/buttonShare.js +++ b/js/extensions/buttonShare.js @@ -19,8 +19,8 @@ define([ return; } - var linkList = $("#link-container .link-list").empty(); - $("#link-container .no-link").show(); + var linkList = $(".link-container .link-list").empty(); + $(".link-container .no-link").show(); var attributesList = _.values(fileDesc.publishLocations); _.each(attributesList, function(attributes) { @@ -29,7 +29,7 @@ define([ link: attributes.sharingLink })); linkList.append(lineElement); - $("#link-container .no-link").hide(); + $(".link-container .no-link").hide(); } }); }; diff --git a/js/html/bodyIndex.html b/js/html/bodyIndex.html index 780084b5..53c754f8 100644 --- a/js/html/bodyIndex.html +++ b/js/html/bodyIndex.html @@ -4,7 +4,7 @@ -