Update app.py
Browse files
app.py
CHANGED
@@ -134,8 +134,9 @@ function simulateButtonPress() {
|
|
134 |
|
135 |
// Function to observe image changes
|
136 |
function observeImageChanges() {
|
137 |
-
// Select all images with the '
|
138 |
-
const images = document.querySelectorAll('.svelte-1pijsyv');
|
|
|
139 |
|
140 |
// Create a MutationObserver to watch for changes in the image src
|
141 |
const observer = new MutationObserver((mutationsList, observer) => {
|
|
|
134 |
|
135 |
// Function to observe image changes
|
136 |
function observeImageChanges() {
|
137 |
+
// Select all images with the 'ImgToMonitor' class
|
138 |
+
// const images = document.querySelectorAll('.svelte-1pijsyv');
|
139 |
+
const images = document.querySelectorAll('.ImgToMonitor');
|
140 |
|
141 |
// Create a MutationObserver to watch for changes in the image src
|
142 |
const observer = new MutationObserver((mutationsList, observer) => {
|