Skip to content

Commit

Permalink
formatting and fix
Browse files Browse the repository at this point in the history
  • Loading branch information
carlinmack authored and fnielsen committed May 29, 2024
1 parent 201f7d8 commit bf53551
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scholia/app/templates/id-to-quickstatements.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ <h2>{{(quickstatements|length)}} Not Found</h2>
</div>
<div class="d-none" id="qs-{{loop.index}}-url">{{ quickstatement | replace('\t', '|') | replace('\n', '||') | urlencode
| replace('/','%2F') }}</div>
<div class="d-none" id="qs-{{loop.index}}-plain">{{ quickstatement | replace('\t', '|') | replace('\n', '||')
<div class="d-none" id="qs-{{loop.index}}-plain">{{ quickstatement | replace('\t', '|') | replace('\n', '||')
| replace('/','%2F') }}</div>
<div class="col-3 align-self-center">
<a
Expand All @@ -106,7 +106,6 @@ <h2>{{(quickstatements|length)}} Not Found</h2>
<button class="btn btn-primary" id="copy-all-button">Copy to clipboard</button>
</div>
</div>
</div>


{% endif %}
Expand Down Expand Up @@ -165,8 +164,6 @@ <h2>{{(failed|length)}} Failed</h2>
copy_all.addEventListener("click", () => {
var items = [];
document.querySelectorAll("input.select-item:checked:checked").forEach((item, index) => {
console.log(index)
console.log(item)
const qs_id = item["value"];
const quickstatements = document.getElementById("qs-" + qs_id + "-plain");
items.push(quickstatements.innerText);
Expand Down

0 comments on commit bf53551

Please sign in to comment.