Uthar commited on
Commit
a330c98
·
verified ·
1 Parent(s): 53c7ed0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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 'image-monitor' class
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) => {