Skip to content

Commit

Permalink
try getting src data from images in image function
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Ressler committed Aug 6, 2024
1 parent 3e2f750 commit 1fb0992
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion _static/uicontrol.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ document.addEventListener("DOMContentLoaded", function() {
let page_images = document.getElementsByTagName("img");

if(page_images != null) {

for(let i = 0; i < page_images.length; i++) {
let current_image = page_images[i];
console.log("Current Image: " + current_image.src);
}
}
}

Expand Down

0 comments on commit 1fb0992

Please sign in to comment.