bleeding the images
parent
81008acfb9
commit
50cebc445c
@ -1 +1 @@
|
||||
Subproject commit 10ecbff65c004a9593ec92ba5e66cd0a870dfdcd
|
||||
Subproject commit 562939fbe79e6b3a2200d127add45a40b03a1e87
|
@ -0,0 +1,12 @@
|
||||
// Wait for Flask, Jinja2, and Paged.js to do their things
|
||||
setTimeout(getImages, 2500);
|
||||
|
||||
function getImages() {
|
||||
const images = document.querySelectorAll("[data-image]");
|
||||
Array.from(images).forEach((img) => moveImage(img));
|
||||
}
|
||||
|
||||
function moveImage(img) {
|
||||
let parent = img.closest(".pagedjs_sheet");
|
||||
parent.prepend(img);
|
||||
}
|
Loading…
Reference in New Issue