Skip to content

Commit

Permalink
fix(CollectivePrint): Fix detection of images in the printed pages
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas <[email protected]>
  • Loading branch information
mejo- committed Oct 27, 2023
1 parent ee33d44 commit 21a4b18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/CollectivePrint.vue
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ export default {
},
waitForImages() {
const images = document.querySelectorAll('#text-container div.image')
const loading = document.querySelectorAll('#text-container div.image.icon-loading')
const images = document.querySelectorAll('#text-container figure.image')
const loading = document.querySelectorAll('#text-container figure.image.icon-loading')
this.loadImages.total = images.length
this.loadImages.count = images.length - loading.length
Expand Down

0 comments on commit 21a4b18

Please sign in to comment.