Skip to content

Commit

Permalink
Fix upload of new refimages (#4484)
Browse files Browse the repository at this point in the history
fix upload of new refimages
  • Loading branch information
ffreyer authored Oct 15, 2024
1 parent 9f49bb0 commit d7aafde
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ReferenceUpdater/src/reference_images.html
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ <h2>Images with references</h2>

images_to_update = Array.from(document.querySelectorAll(".update-checkbox"))
.filter(inp => inp.checked)
.concat(Array.from(document.querySelectorAll(".add-checkbox")).filter(inp => inp.checked))
.map(inp => inp.dataset.image)

images_to_delete = Array.from(document.querySelectorAll(".delete-checkbox"))
Expand Down

0 comments on commit d7aafde

Please sign in to comment.