DetGC commited on
Commit
0253333
·
verified ·
1 Parent(s): 43232cc

Update js_free-online-image-upscaler.js

Browse files
Files changed (1) hide show
  1. js_free-online-image-upscaler.js +4 -1
js_free-online-image-upscaler.js CHANGED
@@ -3288,7 +3288,10 @@
3288
 
3289
  // modified
3290
  $('img.right_img_show').on('load', function () {
3291
- alert($('img.right_img_show').attr('src'));
 
 
 
3292
  });
3293
 
3294
 
 
3288
 
3289
  // modified
3290
  $('img.right_img_show').on('load', function () {
3291
+ // alert($('img.right_img_show').attr('src'));
3292
+ console.log('auto download triggered');
3293
+ var e = document.createElement("a");
3294
+ e.setAttribute("download", ""), e.setAttribute("href", Fu.saveImage), e.click()
3295
  });
3296
 
3297