francescoKrnl commited on
Commit
9274913
1 Parent(s): 9234bc4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -99,7 +99,7 @@ async () => {
99
 
100
  globalThis.DELETE_SKETCH_FUNCTION = () => {
101
  console.log("delete sketch function")
102
- var button_del = document.querySelector('#input_image > div.image-container.svelte-p3y7hu > div.svelte-s6ybro > button:nth-child(2)');
103
  // Create a new 'click' event
104
  var event = new MouseEvent('click', {
105
  'view': window,
 
99
 
100
  globalThis.DELETE_SKETCH_FUNCTION = () => {
101
  console.log("delete sketch function")
102
+ var button_del = document.querySelector('#input_image > div.image-container.svelte-1sbaaot > div.controls-wrap.svelte-4lttvb > div > button:nth-child(3)');
103
  // Create a new 'click' event
104
  var event = new MouseEvent('click', {
105
  'view': window,